summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2004-10-22 04:56:24 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2004-10-22 04:56:24 +0000
commit15ffa18e6394d9fd78fe53bdd7921b5e98e2b9fb (patch)
treebd2ccd15ddee56542c766cb49bb7b64c973ddb96 /sys/dev
parent4f5a87912a29838d26696f65b9d4ae0288319a0f (diff)
Add mpt_ioctl.h file.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/mpt_ioctl.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/sys/dev/ic/mpt_ioctl.h b/sys/dev/ic/mpt_ioctl.h
new file mode 100644
index 00000000000..8cecfe38e4e
--- /dev/null
+++ b/sys/dev/ic/mpt_ioctl.h
@@ -0,0 +1,25 @@
+#ifndef _DEV_IC_MPT_IOCTL_H_
+#define _DEV_IC_MPT_IOCTL_H_
+
+#include <dev/ic/mpt_mpilib.h>
+
+/* ioctl tunnel defines */
+#define MPT_IOCTL_DUMMY _IOWR('B', 32, struct mpt_dummy)
+struct mpt_dummy {
+ void *cookie;
+ int x;
+};
+
+/* structures are inside mpt_mpilib.h */
+#define MPT_IOCTL_MFG0 _IOWR('B', 33, struct mpt_mfg0)
+struct mpt_mfg0 {
+ void *cookie;
+ fCONFIG_PAGE_MANUFACTURING_0 cpm0;
+};
+
+#define MPT_IOCTL_MFG1 _IOWR('B', 34, struct _CONFIG_PAGE_MANUFACTURING_1)
+#define MPT_IOCTL_MFG2 _IOWR('B', 35, struct _CONFIG_PAGE_MANUFACTURING_2)
+#define MPT_IOCTL_MFG3 _IOWR('B', 36, struct _CONFIG_PAGE_MANUFACTURING_3)
+#define MPT_IOCTL_MFG4 _IOWR('B', 37, struct _CONFIG_PAGE_MANUFACTURING_4)
+
+#endif _DEV_IC_MPT_IOCTL_H_