summaryrefslogtreecommitdiff
path: root/sys/scsi/scsiconf.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2006-07-11 21:55:47 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2006-07-11 21:55:47 +0000
commit3d5c3b1920666af9ac7e6f67a9e31c87bc48649d (patch)
tree4d884f0af44f5201184f1c06af9846b75ea8a069 /sys/scsi/scsiconf.c
parenta70def4707f35d41fa19634600aa14c3b2003cd9 (diff)
the scsi_link structure contained a copy of the inquiry flags and the whole
inquiry. this removes the flags member and makes all its users refer to the whole inquiry now. ok miod@ krw@
Diffstat (limited to 'sys/scsi/scsiconf.c')
-rw-r--r--sys/scsi/scsiconf.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/scsi/scsiconf.c b/sys/scsi/scsiconf.c
index 006231f02de..b1d5755773a 100644
--- a/sys/scsi/scsiconf.c
+++ b/sys/scsi/scsiconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsiconf.c,v 1.104 2006/07/11 09:45:53 dlg Exp $ */
+/* $OpenBSD: scsiconf.c,v 1.105 2006/07/11 21:55:46 dlg Exp $ */
/* $NetBSD: scsiconf.c,v 1.57 1996/05/02 01:09:01 neil Exp $ */
/*
@@ -556,7 +556,6 @@ scsi_probedev(struct scsibus_softc *scsi, struct scsi_inquiry_data *inqbuflun0,
sc_link->target = target;
sc_link->lun = lun;
sc_link->device = &probe_switch;
- sc_link->inquiry_flags = 0;
SC_DEBUG(sc_link, SDEV_DB2, ("scsi_link created.\n"));
@@ -655,9 +654,8 @@ scsi_probedev(struct scsibus_softc *scsi, struct scsi_inquiry_data *inqbuflun0,
sc_link->scsi_version = inqbuf.version;
/*
- * Save INQUIRY "flags" (SID_Linked, etc.) for low-level drivers.
+ * Save INQUIRY.
*/
- sc_link->inquiry_flags = inqbuf.flags;
memcpy(&sc_link->inqdata, &inqbuf, sizeof(sc_link->inqdata));
/*