summaryrefslogtreecommitdiff
path: root/sys/scsi/scsiconf.h
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2011-07-09 00:35:00 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2011-07-09 00:35:00 +0000
commit1be024edd8ea4edd5cc5f70874f7abfeabdaac15 (patch)
tree66b721e0b92fbbd832d53cd8114d9878b1ea3dd5 /sys/scsi/scsiconf.h
parent8e645280bd2552edf3ef5ad3a43afec7b22102f5 (diff)
Add SCSI_NO_ADAPTER_TARGET as a value for adapters to set
adapter_target to if their adapter isn't addressable on the bus. ok dlg@, krw@
Diffstat (limited to 'sys/scsi/scsiconf.h')
-rw-r--r--sys/scsi/scsiconf.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/scsi/scsiconf.h b/sys/scsi/scsiconf.h
index 12ba4a1747c..302e537bdb8 100644
--- a/sys/scsi/scsiconf.h
+++ b/sys/scsi/scsiconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsiconf.h,v 1.147 2011/07/06 00:45:52 matthew Exp $ */
+/* $OpenBSD: scsiconf.h,v 1.148 2011/07/09 00:34:59 matthew Exp $ */
/* $NetBSD: scsiconf.h,v 1.35 1997/04/02 02:29:38 mycroft Exp $ */
/*
@@ -401,6 +401,8 @@ struct scsi_link {
struct scsi_iopool *pool;
};
+#define SCSI_NO_ADAPTER_TARGET ((u_int16_t) -1)
+
int scsiprint(void *, const char *);
/*