Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/usb/storage/cfumass.c
Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Lines | |||||
#include <cam/ctl/ctl_backend.h> | #include <cam/ctl/ctl_backend.h> | ||||
#include <cam/ctl/ctl_error.h> | #include <cam/ctl/ctl_error.h> | ||||
#include <cam/ctl/ctl_frontend.h> | #include <cam/ctl/ctl_frontend.h> | ||||
#include <cam/ctl/ctl_debug.h> | #include <cam/ctl/ctl_debug.h> | ||||
#include <cam/ctl/ctl_ha.h> | #include <cam/ctl/ctl_ha.h> | ||||
#include <cam/ctl/ctl_ioctl.h> | #include <cam/ctl/ctl_ioctl.h> | ||||
#include <cam/ctl/ctl_private.h> | #include <cam/ctl/ctl_private.h> | ||||
SYSCTL_NODE(_hw_usb, OID_AUTO, cfumass, CTLFLAG_RW, 0, | SYSCTL_NODE(_hw_usb, OID_AUTO, cfumass, CTLFLAG_RW | CTLFLAG_MPSAFE, 0, | ||||
"CAM Target Layer USB Mass Storage Frontend"); | "CAM Target Layer USB Mass Storage Frontend"); | ||||
static int debug = 1; | static int debug = 1; | ||||
SYSCTL_INT(_hw_usb_cfumass, OID_AUTO, debug, CTLFLAG_RWTUN, | SYSCTL_INT(_hw_usb_cfumass, OID_AUTO, debug, CTLFLAG_RWTUN, | ||||
&debug, 1, "Enable debug messages"); | &debug, 1, "Enable debug messages"); | ||||
static int max_lun = 0; | static int max_lun = 0; | ||||
SYSCTL_INT(_hw_usb_cfumass, OID_AUTO, max_lun, CTLFLAG_RWTUN, | SYSCTL_INT(_hw_usb_cfumass, OID_AUTO, max_lun, CTLFLAG_RWTUN, | ||||
&max_lun, 1, "Maximum advertised LUN number"); | &max_lun, 1, "Maximum advertised LUN number"); | ||||
static int ignore_stop = 1; | static int ignore_stop = 1; | ||||
▲ Show 20 Lines • Show All 920 Lines • Show Last 20 Lines |