Initial import of minimal character device driver based on Brett's Lymn contributions
[eleutheria.git] / cdev / mydev.h
blob7eca0451a15a74adf26923d8078883b9b1529a48
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('S', 0x1, struct mydev_params)
20 #ifdef _KERNEL
23 * Put kernel inter-module interfaces here, this
24 * pseudo device has none.
27 #endif
28 #endif