Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/fdc/fdc.c
Show All 12 Lines | |||||
#define FD_NOT_VALID -2 | #define FD_NOT_VALID -2 | ||||
static driver_intr_t fdc_intr; | static driver_intr_t fdc_intr; | ||||
static driver_filter_t fdc_intr_fast; | static driver_filter_t fdc_intr_fast; | ||||
static void fdc_reset(struct fdc_data *); | static void fdc_reset(struct fdc_data *); | ||||
static int fd_probe_disk(struct fd_data *, int *); | static int fd_probe_disk(struct fd_data *, int *); | ||||
static SYSCTL_NODE(_debug, OID_AUTO, fdc, CTLFLAG_RW, 0, "fdc driver"); | static SYSCTL_NODE(_debug, OID_AUTO, fdc, CTLFLAG_RW | CTLFLAG_MPSAFE, 0, | ||||
"fdc driver"); | |||||
static int fifo_threshold = 8; | static int fifo_threshold = 8; | ||||
SYSCTL_INT(_debug_fdc, OID_AUTO, fifo, CTLFLAG_RW, &fifo_threshold, 0, | SYSCTL_INT(_debug_fdc, OID_AUTO, fifo, CTLFLAG_RW, &fifo_threshold, 0, | ||||
"FIFO threshold setting"); | "FIFO threshold setting"); | ||||
static int debugflags = 0; | static int debugflags = 0; | ||||
SYSCTL_INT(_debug_fdc, OID_AUTO, debugflags, CTLFLAG_RW, &debugflags, 0, | SYSCTL_INT(_debug_fdc, OID_AUTO, debugflags, CTLFLAG_RW, &debugflags, 0, | ||||
"Debug flags"); | "Debug flags"); | ||||
Show All 12 Lines |