Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/usb/input/uep.c
Show First 20 Lines • Show All 59 Lines • ▼ Show 20 Lines | |||||
#endif | #endif | ||||
#define USB_DEBUG_VAR uep_debug | #define USB_DEBUG_VAR uep_debug | ||||
#include <dev/usb/usb_debug.h> | #include <dev/usb/usb_debug.h> | ||||
#ifdef USB_DEBUG | #ifdef USB_DEBUG | ||||
static int uep_debug = 0; | static int uep_debug = 0; | ||||
static SYSCTL_NODE(_hw_usb, OID_AUTO, uep, CTLFLAG_RW, 0, "USB uep"); | static SYSCTL_NODE(_hw_usb, OID_AUTO, uep, CTLFLAG_RW | CTLFLAG_MPSAFE, 0, | ||||
"USB uep"); | |||||
SYSCTL_INT(_hw_usb_uep, OID_AUTO, debug, CTLFLAG_RWTUN, | SYSCTL_INT(_hw_usb_uep, OID_AUTO, debug, CTLFLAG_RWTUN, | ||||
&uep_debug, 0, "Debug level"); | &uep_debug, 0, "Debug level"); | ||||
#endif | #endif | ||||
#define UEP_MAX_X 2047 | #define UEP_MAX_X 2047 | ||||
#define UEP_MAX_Y 2047 | #define UEP_MAX_Y 2047 | ||||
#define UEP_DOWN 0x01 | #define UEP_DOWN 0x01 | ||||
▲ Show 20 Lines • Show All 464 Lines • Show Last 20 Lines |