Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/usb/controller/ehci.c
Show First 20 Lines • Show All 93 Lines • ▼ Show 20 Lines | ((ehci_softc_t *)(((uint8_t *)(bus)) - \ | ||||
((uint8_t *)&(((ehci_softc_t *)0)->sc_bus)))) | ((uint8_t *)&(((ehci_softc_t *)0)->sc_bus)))) | ||||
#ifdef USB_DEBUG | #ifdef USB_DEBUG | ||||
static int ehcidebug = 0; | static int ehcidebug = 0; | ||||
static int ehcinohighspeed = 0; | static int ehcinohighspeed = 0; | ||||
static int ehciiaadbug = 0; | static int ehciiaadbug = 0; | ||||
static int ehcilostintrbug = 0; | static int ehcilostintrbug = 0; | ||||
static SYSCTL_NODE(_hw_usb, OID_AUTO, ehci, CTLFLAG_RW, 0, "USB ehci"); | static SYSCTL_NODE(_hw_usb, OID_AUTO, ehci, CTLFLAG_RW | CTLFLAG_MPSAFE, 0, | ||||
"USB ehci"); | |||||
SYSCTL_INT(_hw_usb_ehci, OID_AUTO, debug, CTLFLAG_RWTUN, | SYSCTL_INT(_hw_usb_ehci, OID_AUTO, debug, CTLFLAG_RWTUN, | ||||
&ehcidebug, 0, "Debug level"); | &ehcidebug, 0, "Debug level"); | ||||
SYSCTL_INT(_hw_usb_ehci, OID_AUTO, no_hs, CTLFLAG_RWTUN, | SYSCTL_INT(_hw_usb_ehci, OID_AUTO, no_hs, CTLFLAG_RWTUN, | ||||
&ehcinohighspeed, 0, "Disable High Speed USB"); | &ehcinohighspeed, 0, "Disable High Speed USB"); | ||||
SYSCTL_INT(_hw_usb_ehci, OID_AUTO, iaadbug, CTLFLAG_RWTUN, | SYSCTL_INT(_hw_usb_ehci, OID_AUTO, iaadbug, CTLFLAG_RWTUN, | ||||
&ehciiaadbug, 0, "Enable doorbell bug workaround"); | &ehciiaadbug, 0, "Enable doorbell bug workaround"); | ||||
SYSCTL_INT(_hw_usb_ehci, OID_AUTO, lostintrbug, CTLFLAG_RWTUN, | SYSCTL_INT(_hw_usb_ehci, OID_AUTO, lostintrbug, CTLFLAG_RWTUN, | ||||
&ehcilostintrbug, 0, "Enable lost interrupt bug workaround"); | &ehcilostintrbug, 0, "Enable lost interrupt bug workaround"); | ||||
▲ Show 20 Lines • Show All 3,861 Lines • Show Last 20 Lines |