Changeset View
Changeset View
Standalone View
Standalone View
sys/arm/ti/am335x/am335x_musb.c
Show All 12 Lines | |||||
{ SYS_RES_MEMORY, 0, RF_ACTIVE }, | { SYS_RES_MEMORY, 0, RF_ACTIVE }, | ||||
{ SYS_RES_MEMORY, 1, RF_ACTIVE }, | { SYS_RES_MEMORY, 1, RF_ACTIVE }, | ||||
{ -1, 0, 0 } | { -1, 0, 0 } | ||||
}; | }; | ||||
#ifdef USB_DEBUG | #ifdef USB_DEBUG | ||||
static int usbssdebug = 0; | static int usbssdebug = 0; | ||||
static SYSCTL_NODE(_hw_usb, OID_AUTO, am335x_usbss, CTLFLAG_RW, 0, "AM335x USBSS"); | static SYSCTL_NODE(_hw_usb, OID_AUTO, am335x_usbss, | ||||
CTLFLAG_RW | CTLFLAG_MPSAFE, 0, | |||||
"AM335x USBSS"); | |||||
SYSCTL_INT(_hw_usb_am335x_usbss, OID_AUTO, debug, CTLFLAG_RW, | SYSCTL_INT(_hw_usb_am335x_usbss, OID_AUTO, debug, CTLFLAG_RW, | ||||
&usbssdebug, 0, "Debug level"); | &usbssdebug, 0, "Debug level"); | ||||
#endif | #endif | ||||
static device_probe_t musbotg_probe; | static device_probe_t musbotg_probe; | ||||
static device_attach_t musbotg_attach; | static device_attach_t musbotg_attach; | ||||
static device_detach_t musbotg_detach; | static device_detach_t musbotg_detach; | ||||
Show All 12 Lines |