Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/usb/serial/uplcom.c
Show First 20 Lines • Show All 107 Lines • ▼ Show 20 Lines | |||||
#include <dev/usb/usb_debug.h> | #include <dev/usb/usb_debug.h> | ||||
#include <dev/usb/usb_process.h> | #include <dev/usb/usb_process.h> | ||||
#include <dev/usb/serial/usb_serial.h> | #include <dev/usb/serial/usb_serial.h> | ||||
#ifdef USB_DEBUG | #ifdef USB_DEBUG | ||||
static int uplcom_debug = 0; | static int uplcom_debug = 0; | ||||
static SYSCTL_NODE(_hw_usb, OID_AUTO, uplcom, CTLFLAG_RW, 0, "USB uplcom"); | static SYSCTL_NODE(_hw_usb, OID_AUTO, uplcom, CTLFLAG_RW | CTLFLAG_MPSAFE, 0, | ||||
"USB uplcom"); | |||||
SYSCTL_INT(_hw_usb_uplcom, OID_AUTO, debug, CTLFLAG_RWTUN, | SYSCTL_INT(_hw_usb_uplcom, OID_AUTO, debug, CTLFLAG_RWTUN, | ||||
&uplcom_debug, 0, "Debug level"); | &uplcom_debug, 0, "Debug level"); | ||||
#endif | #endif | ||||
#define UPLCOM_MODVER 1 /* module version */ | #define UPLCOM_MODVER 1 /* module version */ | ||||
#define UPLCOM_CONFIG_INDEX 0 | #define UPLCOM_CONFIG_INDEX 0 | ||||
#define UPLCOM_IFACE_INDEX 0 | #define UPLCOM_IFACE_INDEX 0 | ||||
▲ Show 20 Lines • Show All 958 Lines • Show Last 20 Lines |