Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Also print DSA addr in a DIAGNOSTING printf.



details:   https://anonhg.NetBSD.org/src/rev/151a5817bdd6
branches:  trunk
changeset: 511553:151a5817bdd6
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Thu Jun 21 16:55:20 2001 +0000

description:
Also print DSA addr in a DIAGNOSTING printf.

diffstat:

 sys/dev/ic/siop.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 387e6f9fbef1 -r 151a5817bdd6 sys/dev/ic/siop.c
--- a/sys/dev/ic/siop.c Thu Jun 21 16:35:47 2001 +0000
+++ b/sys/dev/ic/siop.c Thu Jun 21 16:55:20 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: siop.c,v 1.44 2001/05/23 15:51:32 bouyer Exp $ */
+/*     $NetBSD: siop.c,v 1.45 2001/06/21 16:55:20 bouyer Exp $ */
 
 /*
  * Copyright (c) 2000 Manuel Bouyer.
@@ -383,8 +383,9 @@
                siop_lun = siop_target->siop_lun[lun];
 #ifdef DIAGNOSTIC
                if (siop_cmd->status != CMDST_ACTIVE) {
-                       printf("siop_cmd (lun %d) not active (%d)\n",
-                               lun, siop_cmd->status);
+                       printf("siop_cmd (lun %d) for DSA 0x%x "
+                           "not active (%d)\n", lun, (u_int)dsa,
+                           siop_cmd->status);
                        xs = NULL;
                        siop_target = NULL;
                        target = -1;



Home | Main Index | Thread Index | Old Index