Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/aac/aac.c
Show First 20 Lines • Show All 219 Lines • ▼ Show 20 Lines | static struct cdevsw aac_cdevsw = { | ||||
.d_ioctl = aac_ioctl, | .d_ioctl = aac_ioctl, | ||||
.d_poll = aac_poll, | .d_poll = aac_poll, | ||||
.d_name = "aac", | .d_name = "aac", | ||||
}; | }; | ||||
static MALLOC_DEFINE(M_AACBUF, "aacbuf", "Buffers for the AAC driver"); | static MALLOC_DEFINE(M_AACBUF, "aacbuf", "Buffers for the AAC driver"); | ||||
/* sysctl node */ | /* sysctl node */ | ||||
SYSCTL_NODE(_hw, OID_AUTO, aac, CTLFLAG_RD, 0, "AAC driver parameters"); | SYSCTL_NODE(_hw, OID_AUTO, aac, CTLFLAG_RD | CTLFLAG_MPSAFE, 0, | ||||
"AAC driver parameters"); | |||||
/* | /* | ||||
* Device Interface | * Device Interface | ||||
*/ | */ | ||||
/* | /* | ||||
* Initialize the controller and softc | * Initialize the controller and softc | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 3,580 Lines • Show Last 20 Lines |