Separate netbsd-specific from unix-specific projects
[eleutheria.git] / netbsd / cdev / mydev.h
blob5c4338e87e49e5718dc8fc76472e5bb391c8575f
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 1
12 struct mydev_params
14 int number;
15 char string[80];
18 #define MYDEVTEST _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
29 #endif