Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/amr/amr.c
Show All 12 Lines | |||||
#include <dev/pci/pcivar.h> | #include <dev/pci/pcivar.h> | ||||
#include <dev/amr/amrio.h> | #include <dev/amr/amrio.h> | ||||
#include <dev/amr/amrreg.h> | #include <dev/amr/amrreg.h> | ||||
#include <dev/amr/amrvar.h> | #include <dev/amr/amrvar.h> | ||||
#define AMR_DEFINE_TABLES | #define AMR_DEFINE_TABLES | ||||
#include <dev/amr/amr_tables.h> | #include <dev/amr/amr_tables.h> | ||||
SYSCTL_NODE(_hw, OID_AUTO, amr, CTLFLAG_RD, 0, "AMR driver parameters"); | SYSCTL_NODE(_hw, OID_AUTO, amr, CTLFLAG_RD | CTLFLAG_MPSAFE, 0, | ||||
"AMR driver parameters"); | |||||
static d_open_t amr_open; | static d_open_t amr_open; | ||||
static d_close_t amr_close; | static d_close_t amr_close; | ||||
static d_ioctl_t amr_ioctl; | static d_ioctl_t amr_ioctl; | ||||
static struct cdevsw amr_cdevsw = { | static struct cdevsw amr_cdevsw = { | ||||
.d_version = D_VERSION, | .d_version = D_VERSION, | ||||
.d_flags = D_NEEDGIANT, | .d_flags = D_NEEDGIANT, | ||||
Show All 12 Lines |