Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/usb/net/if_ure.c
Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | |||||
#include <dev/usb/net/usb_ethernet.h> | #include <dev/usb/net/usb_ethernet.h> | ||||
#include <dev/usb/net/if_urereg.h> | #include <dev/usb/net/if_urereg.h> | ||||
#include "miibus_if.h" | #include "miibus_if.h" | ||||
#ifdef USB_DEBUG | #ifdef USB_DEBUG | ||||
static int ure_debug = 0; | static int ure_debug = 0; | ||||
static SYSCTL_NODE(_hw_usb, OID_AUTO, ure, CTLFLAG_RW, 0, "USB ure"); | static SYSCTL_NODE(_hw_usb, OID_AUTO, ure, CTLFLAG_RW | CTLFLAG_MPSAFE, 0, | ||||
"USB ure"); | |||||
SYSCTL_INT(_hw_usb_ure, OID_AUTO, debug, CTLFLAG_RWTUN, &ure_debug, 0, | SYSCTL_INT(_hw_usb_ure, OID_AUTO, debug, CTLFLAG_RWTUN, &ure_debug, 0, | ||||
"Debug level"); | "Debug level"); | ||||
#endif | #endif | ||||
/* | /* | ||||
* Various supported device vendors/products. | * Various supported device vendors/products. | ||||
*/ | */ | ||||
static const STRUCT_USB_HOST_ID ure_devs[] = { | static const STRUCT_USB_HOST_ID ure_devs[] = { | ||||
▲ Show 20 Lines • Show All 1,207 Lines • Show Last 20 Lines |