summaryrefslogtreecommitdiff
path: root/sys/scsi/scsiconf.h
diff options
context:
space:
mode:
authorConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>2000-04-08 19:19:34 +0000
committerConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>2000-04-08 19:19:34 +0000
commit2dcc33d32c3942299594bfc20b863252c16456fc (patch)
treed0996a515240ca3f08f75cf2bd64957fbc598f3e /sys/scsi/scsiconf.h
parent8fb48f6fc6c6ae0cac2eeef44d83896b0e12a87b (diff)
These days, attach can occur outside the tsleep-restricted world of
BSD autoconf. Don't use POLL & NOSLEEP mode if attaching after autoconf
Diffstat (limited to 'sys/scsi/scsiconf.h')
-rw-r--r--sys/scsi/scsiconf.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/scsi/scsiconf.h b/sys/scsi/scsiconf.h
index 04a6f2e20d2..161e31cada7 100644
--- a/sys/scsi/scsiconf.h
+++ b/sys/scsi/scsiconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsiconf.h,v 1.21 1999/12/16 05:17:36 mjacob Exp $ */
+/* $OpenBSD: scsiconf.h,v 1.22 2000/04/08 19:19:33 csapuntz Exp $ */
/* $NetBSD: scsiconf.h,v 1.35 1997/04/02 02:29:38 mycroft Exp $ */
/*
@@ -89,6 +89,11 @@ struct buf;
struct scsi_xfer;
/*
+ * Temporary hack
+ */
+extern int scsi_autoconf;
+
+/*
* These entrypoints are called by the high-end drivers to get services from
* whatever low-end drivers they are attached to each adapter type has one of
* these statically allocated.