From 5aa4bb5b49e64e1366ecab370c438b511a813927 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Wed, 17 Feb 2010 22:28:37 +0000 Subject: [PATCH] Include command type in COMMAND TIMEOUT messages to aid in debugging. --- sys/dev/aac/aac.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/dev/aac/aac.c b/sys/dev/aac/aac.c index 0bcac8f7e5fe..fb9ef6379b65 100644 --- a/sys/dev/aac/aac.c +++ b/sys/dev/aac/aac.c @@ -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++; }