diff --git a/src/add-ons/kernel/busses/usb/ohci.cpp b/src/add-ons/kernel/busses/usb/ohci.cpp
index c9f2c1a..5a9bbcf 100644
a
|
b
|
OHCI::OHCI(pci_info *info, Stack *stack)
|
204 | 204 | fInterruptEndpoints[0]->next_physical_endpoint |
205 | 205 | = fDummyIsochronous->physical_address; |
206 | 206 | |
207 | | // Disable all interrupts before handoff/reset |
208 | | _WriteReg(OHCI_INTERRUPT_DISABLE, OHCI_ALL_INTERRUPTS); |
209 | | |
210 | 207 | // Determine in what context we are running (Kindly copied from FreeBSD) |
211 | 208 | uint32 control = _ReadReg(OHCI_CONTROL); |
212 | 209 | if (control & OHCI_INTERRUPT_ROUTING) { |
… |
… |
OHCI::OHCI(pci_info *info, Stack *stack)
|
229 | 226 | snooze(USB_DELAY_BUS_RESET); |
230 | 227 | } |
231 | 228 | |
| 229 | // Disable all interrupts |
| 230 | _WriteReg(OHCI_INTERRUPT_DISABLE, OHCI_ALL_INTERRUPTS); |
| 231 | |
232 | 232 | // This reset should not be necessary according to the OHCI spec, but |
233 | 233 | // without it some controllers do not start. |
234 | 234 | _WriteReg(OHCI_CONTROL, OHCI_HC_FUNCTIONAL_STATE_RESET); |