summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2008-08-11 17:22:55 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2008-08-11 17:22:55 +0000
commitbc07fed8f5bb8910dd763550ecc283ae028ba80e (patch)
treeb806be6711965a89ed70102ef9e7d0bcf5bd0b8c /sys/dev
parent95c7ff1f7e64cbcb098dadbad83784624dc4b5e3 (diff)
Add infrastructure to manually kick off rebuilds.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/biovar.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/biovar.h b/sys/dev/biovar.h
index 230a4e9a824..f9219793a64 100644
--- a/sys/dev/biovar.h
+++ b/sys/dev/biovar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: biovar.h,v 1.31 2008/06/14 18:40:50 hshoexer Exp $ */
+/* $OpenBSD: biovar.h,v 1.32 2008/08/11 17:22:54 marco Exp $ */
/*
* Copyright (c) 2002 Niklas Hallqvist. All rights reserved.
@@ -159,7 +159,10 @@ struct bioc_setstate {
u_int16_t bs_channel;
u_int16_t bs_target;
u_int16_t bs_lun;
- u_int16_t bs_other_id; /* unused for now */
+ u_int16_t bs_other_id_type; /* use other_id instead of ctl */
+#define BIOC_SSOTHER_UNUSED 0x00
+#define BIOC_SSOTHER_DEVT 0x01
+ int bs_other_id; /* cram dev_t or other id in here */
int bs_status; /* change to this status */
#define BIOC_SSONLINE 0x00 /* online disk */