Return to devctl.h CVS log | Up to [local] / funnyos / sys |
1.1 ! nbrk 1: /* ! 2: * $Id$ ! 3: */ ! 4: #ifndef _SYS_DEVCTL_H ! 5: #define _SYS_DEVCTL_H ! 6: ! 7: #include <sys/types.h> ! 8: ! 9: void devctl_register(struct device *self, int (*ctlfunc)(struct device *self, uint32_t ctlcmd, void *ctldata)); ! 10: int devctl(const char *dv_name, uint8_t dv_minor, uint32_t ctlcmd, void *ctldata); ! 11: ! 12: #endif /* !_SYS_DEVCTL_H */ ! 13: