diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2001-06-25 23:14:41 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2001-06-25 23:14:41 +0000 |
commit | 7e7e1f051b7338ae29cbdc6baa4b7a2dbcd51f87 (patch) | |
tree | ce0638b2e8aa32b781c1df5a57cb85bc44251590 /sys/dev/ic/siop.c | |
parent | 99a186fc1422124256a351873ed3e98a68e63777 (diff) |
Revert change to using sc_link in calls to siop_print_info().
sc_link->device_softc not necessarily available for devices like cd's
that don't issue SCSI commands after INQUIRY during probe, leaving
negotiation triggering to next LUN. Spotted by Nikolay Sturm.
Fixing this is not worth the effort and added complexity for a
cosmetic improvement.
Keep code cleanups done at the same time, and add a typo fix
(destiation -> destination).
Diffstat (limited to 'sys/dev/ic/siop.c')
-rw-r--r-- | sys/dev/ic/siop.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/siop.c b/sys/dev/ic/siop.c index 333f0d8f547..45c2f961c20 100644 --- a/sys/dev/ic/siop.c +++ b/sys/dev/ic/siop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: siop.c,v 1.9 2001/06/24 22:00:01 krw Exp $ */ +/* $OpenBSD: siop.c,v 1.10 2001/06/25 23:14:39 krw Exp $ */ /* $NetBSD: siop.c,v 1.39 2001/02/11 18:04:49 bouyer Exp $ */ /* @@ -740,7 +740,7 @@ scintr: if ((siop_target->flags & TARF_SYNC) == 0) { siop_target->status = TARST_OK; - siop_print_info(xs->sc_link); + siop_print_info(sc, target); /* no table to flush here */ CALL_SCRIPT(Ent_msgin_ack); return 1; @@ -756,7 +756,7 @@ scintr: } else if (msg == MSG_EXTENDED && extmsg == MSG_EXT_SDTR) { siop_target->status = TARST_OK; - siop_print_info(xs->sc_link); + siop_print_info(sc, target); /* no table to flush here */ CALL_SCRIPT(Ent_msgin_ack); return 1; |