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