summaryrefslogtreecommitdiffstats
path: root/sys/dev/twe/tweio.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/twe/tweio.h')
-rw-r--r--sys/dev/twe/tweio.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/dev/twe/tweio.h b/sys/dev/twe/tweio.h
index eaf0d7b..7aed7d1 100644
--- a/sys/dev/twe/tweio.h
+++ b/sys/dev/twe/tweio.h
@@ -90,3 +90,13 @@ struct twe_paramcommand {
* Request a controller soft-reset
*/
#define TWEIO_RESET _IO ('T', 106)
+
+/*
+ * Request a drive addition or deletion
+ */
+struct twe_drivecommand {
+ int td_unit;
+};
+
+#define TWEIO_ADD_UNIT _IOW ('U', 107, int)
+#define TWEIO_DEL_UNIT _IOW ('U', 108, int)
OpenPOWER on IntegriCloud