/* * $Id: devctl.h,v 1.1 2007/12/16 23:03:00 nbrk Exp $ */ #ifndef _SYS_DEVCTL_H #define _SYS_DEVCTL_H #include void devctl_register(struct device *self, int (*ctlfunc)(struct device *self, uint32_t ctlcmd, void *ctldata)); int devctl(const char *dv_name, uint8_t dv_minor, uint32_t ctlcmd, void *ctldata); #endif /* !_SYS_DEVCTL_H */