Rename old ioctl
[eleutheria.git] / netbsd / cdev / mydev.h
blob58670abe1191c6cf1cbb9e48ca87fc9b36b4dfe2
1 /*
3 * Definitions for the Mydev pseudo device.
5 */
6 #include <sys/param.h>
7 #include <sys/device.h>
9 #ifndef MYDEV_H
10 #define MYDEV_H
12 struct mydev_params
14 int number;
15 char string[80];
18 #define MYDEVOLDIOCTL _IOW('M', 0x1, struct mydev_params)
19 #define MYDEVSETPROPS _IOW('M', 0x2, struct plistref)
21 #ifdef _KERNEL
24 * Put kernel inter-module interfaces here, this
25 * pseudo device has none.
28 #endif /* _KERNEL */
29 #endif /* MYDEV_H */