Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/usb/net/if_smsc.c
Show First 20 Lines • Show All 116 Lines • ▼ Show 20 Lines | |||||
#include <dev/usb/net/if_smscreg.h> | #include <dev/usb/net/if_smscreg.h> | ||||
#include "miibus_if.h" | #include "miibus_if.h" | ||||
#ifdef USB_DEBUG | #ifdef USB_DEBUG | ||||
static int smsc_debug = 0; | static int smsc_debug = 0; | ||||
SYSCTL_NODE(_hw_usb, OID_AUTO, smsc, CTLFLAG_RW, 0, "USB smsc"); | SYSCTL_NODE(_hw_usb, OID_AUTO, smsc, CTLFLAG_RW | CTLFLAG_MPSAFE, 0, | ||||
"USB smsc"); | |||||
SYSCTL_INT(_hw_usb_smsc, OID_AUTO, debug, CTLFLAG_RWTUN, &smsc_debug, 0, | SYSCTL_INT(_hw_usb_smsc, OID_AUTO, debug, CTLFLAG_RWTUN, &smsc_debug, 0, | ||||
"Debug level"); | "Debug level"); | ||||
#endif | #endif | ||||
/* | /* | ||||
* Various supported device vendors/products. | * Various supported device vendors/products. | ||||
*/ | */ | ||||
static const struct usb_device_id smsc_devs[] = { | static const struct usb_device_id smsc_devs[] = { | ||||
▲ Show 20 Lines • Show All 1,678 Lines • Show Last 20 Lines |