summaryrefslogtreecommitdiff
path: root/sys/scsi/sd.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2000-09-20 00:58:04 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2000-09-20 00:58:04 +0000
commit0143edcc7aa6fbaf9e897a07eb58d5f016f57578 (patch)
treeffa00d969d0d18901c0f7cd98de01e865c159f06 /sys/scsi/sd.c
parent42f226c0c6a01b911802e806f1813a348585168e (diff)
make SDOUTSTANDING redefinable, since some controller can handle more than 4 xfers simultaneously; deraadt@ ok
Diffstat (limited to 'sys/scsi/sd.c')
-rw-r--r--sys/scsi/sd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c
index e0018164a62..0b293c31180 100644
--- a/sys/scsi/sd.c
+++ b/sys/scsi/sd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sd.c,v 1.43 2000/04/18 05:53:17 csapuntz Exp $ */
+/* $OpenBSD: sd.c,v 1.44 2000/09/20 00:58:03 mickey Exp $ */
/* $NetBSD: sd.c,v 1.111 1997/04/02 02:29:41 mycroft Exp $ */
/*-
@@ -82,7 +82,9 @@
#include <sys/vnode.h>
+#ifndef SDOUTSTANDING
#define SDOUTSTANDING 4
+#endif
#define SDUNIT(dev) DISKUNIT(dev)
#define SDMINOR(unit, part) DISKMINOR(unit, part)