summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>2000-09-20 00:58:03 +0000
committermickey <mickey@openbsd.org>2000-09-20 00:58:03 +0000
commit75e3e4b053f0794304c4db1602aeeeae3b16b04b (patch)
treee5e96451da76925beb625a769a35422c7b156e28
parenttwe on B (diff)
downloadwireguard-openbsd-75e3e4b053f0794304c4db1602aeeeae3b16b04b.tar.xz
wireguard-openbsd-75e3e4b053f0794304c4db1602aeeeae3b16b04b.zip
make SDOUTSTANDING redefinable, since some controller can handle more than 4 xfers simultaneously; deraadt@ ok
-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)