diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2008-07-22 00:40:38 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2008-07-22 00:40:38 +0000 |
commit | 8e9f68ebaacab96a7963e87ed52fedc7df64449f (patch) | |
tree | 7b22a26f9d1f982fcafa9fe8e2e5ded1c5144dea | |
parent | cad44ce6271b09becfda10884c8ee69b0ae6d47c (diff) |
tweak comment to reflect the new reality after my last change.
-rw-r--r-- | sys/scsi/scsiconf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/scsi/scsiconf.c b/sys/scsi/scsiconf.c index d6be80bd48a..4ed8783ce40 100644 --- a/sys/scsi/scsiconf.c +++ b/sys/scsi/scsiconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scsiconf.c,v 1.133 2008/07/21 23:40:03 dlg Exp $ */ +/* $OpenBSD: scsiconf.c,v 1.134 2008/07/22 00:40:37 dlg Exp $ */ /* $NetBSD: scsiconf.c,v 1.57 1996/05/02 01:09:01 neil Exp $ */ /* @@ -842,12 +842,12 @@ scsi_probedev(struct scsibus_softc *scsi, int target, int lun) * Braindead USB devices, especially some x-in-1 media readers, try to * 'help' by pretending any LUN is actually LUN 0 until they see a * different LUN used in a command. So do an INQUIRY on LUN 1 at this - * point (since we are done with the data in inqbuf) to prevent such - * helpfulness before it causes confusion. + * point to prevent such helpfulness before it causes confusion. */ if (lun == 0 && (sc_link->flags & SDEV_UMASS) && scsi->sc_link[target][1] == NULL && sc_link->luns > 1) { struct scsi_inquiry_data tmpinq; + sc_link->lun = 1; scsi_inquire(sc_link, &tmpinq, scsi_autoconf | SCSI_SILENT); sc_link->lun = 0; |