summaryrefslogtreecommitdiff
path: root/sys/scsi/sd.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/sd.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/sd.c')
-rw-r--r--sys/scsi/sd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c
index fc928eb261e..34f41f6a2ed 100644
--- a/sys/scsi/sd.c
+++ b/sys/scsi/sd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sd.c,v 1.106 2006/05/18 00:10:05 krw Exp $ */
+/* $OpenBSD: sd.c,v 1.107 2006/07/11 21:55:46 dlg Exp $ */
/* $NetBSD: sd.c,v 1.111 1997/04/02 02:29:41 mycroft Exp $ */
/*-
@@ -192,7 +192,7 @@ sdattach(parent, self, aux)
if ((sc_link->flags & SDEV_ATAPI) && (sc_link->flags & SDEV_REMOVABLE))
sc_link->quirks |= SDEV_NOSYNCCACHE;
- if (!(sc_link->inquiry_flags & SID_RelAdr))
+ if (!(sc_link->inqdata.flags & SID_RelAdr))
sc_link->quirks |= SDEV_ONLYBIG;
/*