Include command type in COMMAND TIMEOUT messages to aid in debugging.

This commit is contained in:
Ed Maste 2010-02-17 22:28:37 +00:00
parent 9f21d0a3a5
commit 5aa4bb5b49
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=204019

View File

@ -2352,8 +2352,9 @@ aac_timeout(struct aac_softc *sc)
/* && !(cm->cm_flags & AAC_CMD_TIMEDOUT) */) {
cm->cm_flags |= AAC_CMD_TIMEDOUT;
device_printf(sc->aac_dev,
"COMMAND %p TIMEOUT AFTER %d SECONDS\n",
cm, (int)(time_uptime-cm->cm_timestamp));
"COMMAND %p (TYPE %d) TIMEOUT AFTER %d SECONDS\n",
cm, cm->cm_fib->Header.Command,
(int)(time_uptime-cm->cm_timestamp));
AAC_PRINT_FIB(sc, cm->cm_fib);
timedout++;
}