Changeset View
Changeset View
Standalone View
Standalone View
sys/cddl/dev/prototype.c
Show First 20 Lines • Show All 133 Lines • ▼ Show 20 Lines | |||||
static int | static int | ||||
prototype_open(struct cdev *dev __unused, int oflags __unused, int devtype __unused, struct thread *td __unused) | prototype_open(struct cdev *dev __unused, int oflags __unused, int devtype __unused, struct thread *td __unused) | ||||
{ | { | ||||
return (0); | return (0); | ||||
} | } | ||||
SYSINIT(prototype_load, SI_SUB_DTRACE_PROVIDER, SI_ORDER_ANY, prototype_load, NULL); | SYSINIT(prototype_load, SI_SUB_DTRACE_PROVIDER, SI_ORDER_ANY, prototype_load, NULL); | ||||
SYSUNINIT(prototype_unload, SI_SUB_DTRACE_PROVIDER, SI_ORDER_ANY, prototype_unload, NULL); | SYSUNINIT(prototype_unload, SI_SUB_DTRACE_PROVIDER, SI_ORDER_ANY, prototype_unload); | ||||
DEV_MODULE(prototype, prototype_modevent, NULL); | DEV_MODULE(prototype, prototype_modevent, NULL); | ||||
MODULE_VERSION(prototype, 1); | MODULE_VERSION(prototype, 1); | ||||
MODULE_DEPEND(prototype, dtrace, 1, 1, 1); | MODULE_DEPEND(prototype, dtrace, 1, 1, 1); | ||||
MODULE_DEPEND(prototype, opensolaris, 1, 1, 1); | MODULE_DEPEND(prototype, opensolaris, 1, 1, 1); |