summaryrefslogtreecommitdiff
path: root/sbin/bioctl/bioctl.h
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2005-04-04 22:43:08 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2005-04-04 22:43:08 +0000
commite068b33461fe4314ddd73634b9801621a1ef8372 (patch)
tree5617414b0b903ef00daacd65f2bef183f4a341a0 /sbin/bioctl/bioctl.h
parentb8cf5a59c4b9c5133225a1632b01dd52d86f7fc1 (diff)
Add initial blink/unblink harness.
Fix INQUIRY namespace polution. Little clean up and new debug messages.
Diffstat (limited to 'sbin/bioctl/bioctl.h')
-rw-r--r--sbin/bioctl/bioctl.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/sbin/bioctl/bioctl.h b/sbin/bioctl/bioctl.h
index 2ed3e9c6d09..6dbec8aeb82 100644
--- a/sbin/bioctl/bioctl.h
+++ b/sbin/bioctl/bioctl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bioctl.h,v 1.1 2005/04/04 17:36:46 marco Exp $ */
+/* $OpenBSD: bioctl.h,v 1.2 2005/04/04 22:43:07 marco Exp $ */
/*
* Copyright (c) 2004, 2005 Marco Peereboom
* All rights reserved.
@@ -28,10 +28,10 @@
#ifndef _BIOCTL_H_
#define _BIOCTL_H_
-#define READCAP 0x01
-#define ENUM 0x02
-#define TUR 0x04
-#define INQUIRY 0x08
+#define F_READCAP 0x01
+#define F_ENUM 0x02
+#define F_TUR 0x04
+#define F_INQUIRY 0x08
#define PARSELIST (0x8000000000000000llu)
@@ -56,6 +56,7 @@ void print_sense(u_int8_t *, u_int8_t);
int bio_get_capabilities(bioc_capabilities *);
void bio_alarm(char *);
+void bio_blink(char *, u_int8_t, u_int8_t);
void bio_ping(void);
void bio_startstop(char *, u_int8_t, u_int8_t);
void bio_status(void);