mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 02:03:31 +00:00
Include command type in COMMAND TIMEOUT messages to aid in debugging.
This commit is contained in:
parent
9f21d0a3a5
commit
5aa4bb5b49
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=204019
@ -2352,8 +2352,9 @@ aac_timeout(struct aac_softc *sc)
|
|||||||
/* && !(cm->cm_flags & AAC_CMD_TIMEDOUT) */) {
|
/* && !(cm->cm_flags & AAC_CMD_TIMEDOUT) */) {
|
||||||
cm->cm_flags |= AAC_CMD_TIMEDOUT;
|
cm->cm_flags |= AAC_CMD_TIMEDOUT;
|
||||||
device_printf(sc->aac_dev,
|
device_printf(sc->aac_dev,
|
||||||
"COMMAND %p TIMEOUT AFTER %d SECONDS\n",
|
"COMMAND %p (TYPE %d) TIMEOUT AFTER %d SECONDS\n",
|
||||||
cm, (int)(time_uptime-cm->cm_timestamp));
|
cm, cm->cm_fib->Header.Command,
|
||||||
|
(int)(time_uptime-cm->cm_timestamp));
|
||||||
AAC_PRINT_FIB(sc, cm->cm_fib);
|
AAC_PRINT_FIB(sc, cm->cm_fib);
|
||||||
timedout++;
|
timedout++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user