Subject: kern/6512: missing scsi_print_addr() in ncr53c9x.c
To: None <gnats-bugs@gnats.netbsd.org>
From: None <soren@t.dk>
List: netbsd-bugs
Date: 11/30/1998 04:20:38
>Number:         6512
>Category:       kern
>Synopsis:       missing scsi_print_addr() in ncr53c9x.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 29 19:35:00 1998
>Last-Modified:
>Originator:     Soren S. Jorvang
>Organization:
Soren
>Release:        NetBSD-current
>Environment:
System: NetBSD 1.3I


>Description:
The ncr53c9x driver does not print the adapter unit number when negotiating async transfers.


>How-To-Repeat:


>Fix:
--- src/sys/dev/ic/ncr53c9x.c.orig	Mon Nov 30 04:04:50 1998
+++ src/sys/dev/ic/ncr53c9x.c	Mon Nov 30 04:11:21 1998
@@ -1119,8 +1119,8 @@
 				if (sc->sc_minsync == 0 ||
 				    ti->offset == 0 ||
 				    ti->period > 124) {
-					printf("%s:%d: async\n", "esp",
-						ecb->xs->sc_link->scsipi_scsi.target);
+					scsi_print_addr(ecb->xs->sc_link);
+					printf("async\n");
 					if ((sc->sc_flags&NCR_SYNCHNEGO)
 					    == 0) {
 						/*
>Audit-Trail:
>Unformatted: