diff options
author | 2011-07-09 00:34:59 +0000 | |
---|---|---|
committer | 2011-07-09 00:34:59 +0000 | |
commit | 98aac16d4c8ef00eae728b884eed598e4e339fcf (patch) | |
tree | ca73f36dc9873880cbf5a3bd2224e68f99c0fc81 /sys | |
parent | Copied from hppa; should work for hppa64 as well. (diff) | |
download | wireguard-openbsd-98aac16d4c8ef00eae728b884eed598e4e339fcf.tar.xz wireguard-openbsd-98aac16d4c8ef00eae728b884eed598e4e339fcf.zip |
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')
-rw-r--r-- | sys/scsi/scsiconf.h | 4 |
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 *); /* |