summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2005-08-18 09:42:42 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2005-08-18 09:42:42 +0000
commit765988af05e3af41ed8dc8d62c5b23d72a9be818 (patch)
tree7380f0891cab5144d424c7033eb541d1902b966d /sys
parentf41619573e8fc09b0927358926a6b7702ca06115 (diff)
blinking doesnt care about volid and diskid at the moment. use target
instead
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/biovar.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/biovar.h b/sys/dev/biovar.h
index 48d63e170d8..7f78905095f 100644
--- a/sys/dev/biovar.h
+++ b/sys/dev/biovar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: biovar.h,v 1.19 2005/08/18 09:10:40 dlg Exp $ */
+/* $OpenBSD: biovar.h,v 1.20 2005/08/18 09:42:41 dlg Exp $ */
/*
* Copyright (c) 2002 Niklas Hallqvist. All rights reserved.
@@ -142,15 +142,15 @@ struct bioc_alarm {
struct bioc_blink {
void *bb_cookie;
- int bb_volid; /* volume */
- int bb_diskid; /* virtual disk id, -1 all */
+ int bb_resv1; /* for binary compatibility */
+ int bb_resv2; /* for binary compatibility */
int bb_status; /* current status */
- int bb_resv; /* for binary compatibility */
-
- int bb_opcode;
#define BIOC_SBUNBLINK 0x00 /* disable blinking */
#define BIOC_SBBLINK 0x01 /* enable blink */
#define BIOC_SBALARM 0x02 /* enable alarm blink */
+ int bb_resv3; /* for binary compatibility */
+
+ int bb_target;
};
#define BIOCSETSTATE _IOWR('B', 37, struct bioc_setstate)