diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2010-07-07 03:53:08 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2010-07-07 03:53:08 +0000 |
commit | 36f80d629ac2b131c968b42d82775faf8a8003f1 (patch) | |
tree | ced09b6e925d77734186052d4020696a93b7e83f | |
parent | 8fae125e6607bd08e7b186c9a093372424a02d89 (diff) |
Pull out disk sort. I committed the wrong version of the diff and it
wasn't ok deraadt & dlg.
-rw-r--r-- | sys/scsi/sd.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c index db9df6f0dee..98a44ad2dc2 100644 --- a/sys/scsi/sd.c +++ b/sys/scsi/sd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sd.c,v 1.203 2010/07/06 16:16:48 marco Exp $ */ +/* $OpenBSD: sd.c,v 1.204 2010/07/07 03:53:07 marco Exp $ */ /* $NetBSD: sd.c,v 1.111 1997/04/02 02:29:41 mycroft Exp $ */ /*- @@ -175,11 +175,7 @@ sdattach(struct device *parent, struct device *self, void *aux) */ sc->sc_dk.dk_driver = &sddkdriver; sc->sc_dk.dk_name = sc->sc_dev.dv_xname; - - if (SCSISPC(sc_link->inqdata.version) >= 2) - sc->sc_bufq = bufq_init(BUFQ_FIFO); - else - sc->sc_bufq = bufq_init(BUFQ_DEFAULT); + sc->sc_bufq = bufq_init(BUFQ_DEFAULT); if ((sc_link->flags & SDEV_ATAPI) && (sc_link->flags & SDEV_REMOVABLE)) sc_link->quirks |= SDEV_NOSYNCCACHE; |