summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2006-07-06 00:41:37 +0000
committerdlg <dlg@openbsd.org>2006-07-06 00:41:37 +0000
commite89b5135ab57273313d48031239709b38a3fd388 (patch)
treebbf21dda8faf09188810f4d6c88dd6c968b55d49
parentWrite the mac address into the registers CORRECTLY! (diff)
downloadwireguard-openbsd-e89b5135ab57273313d48031239709b38a3fd388.tar.xz
wireguard-openbsd-e89b5135ab57273313d48031239709b38a3fd388.zip
add a flag to sc_link to be used by a hba to mark the target as virtual.
grudging ok from deraadt@ so i can move forward. this should be revisited one day though.
-rw-r--r--sys/scsi/scsiconf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/scsi/scsiconf.h b/sys/scsi/scsiconf.h
index 7c34e3af3cd..63e11813ff5 100644
--- a/sys/scsi/scsiconf.h
+++ b/sys/scsi/scsiconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsiconf.h,v 1.66 2006/06/20 00:58:56 deraadt Exp $ */
+/* $OpenBSD: scsiconf.h,v 1.67 2006/07/06 00:41:37 dlg Exp $ */
/* $NetBSD: scsiconf.h,v 1.35 1997/04/02 02:29:38 mycroft Exp $ */
/*
@@ -179,6 +179,7 @@ struct scsi_link {
#define SDEV_ATAPI 0x0200 /* device is ATAPI */
#define SDEV_2NDBUS 0x0400 /* device is a 'second' bus device */
#define SDEV_UMASS 0x0800 /* device is UMASS SCSI */
+#define SDEV_VIRTUAL 0x1000 /* device is virtualised on the hba */
u_int16_t quirks; /* per-device oddities */
#define SDEV_AUTOSAVE 0x0001 /* do implicit SAVEDATAPOINTER on disconnect */
#define SDEV_NOSYNC 0x0002 /* does not grok SDTR */