Remove disabling and clearing interrupts again as it doesn't turn out to be a problem.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25935 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -223,11 +223,6 @@ OHCI::OHCI(pci_info *info, Stack *stack)
|
|||||||
snooze(USB_DELAY_BUS_RESET);
|
snooze(USB_DELAY_BUS_RESET);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Disable all interrupts and clear any current interrupt status
|
|
||||||
_WriteReg(OHCI_INTERRUPT_DISABLE, OHCI_ALL_INTERRUPTS
|
|
||||||
| OHCI_MASTER_INTERRUPT_ENABLE);
|
|
||||||
_WriteReg(OHCI_INTERRUPT_STATUS, OHCI_ALL_INTERRUPTS);
|
|
||||||
|
|
||||||
// This reset should not be necessary according to the OHCI spec, but
|
// This reset should not be necessary according to the OHCI spec, but
|
||||||
// without it some controllers do not start.
|
// without it some controllers do not start.
|
||||||
_WriteReg(OHCI_CONTROL, OHCI_HC_FUNCTIONAL_STATE_RESET);
|
_WriteReg(OHCI_CONTROL, OHCI_HC_FUNCTIONAL_STATE_RESET);
|
||||||
|
|||||||
Reference in New Issue
Block a user