use the actual function to write on PCI_LEGSUP

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19250 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2006-11-10 19:10:26 +00:00
parent ca508c1f7c
commit 897382b2e0

View File

@ -356,8 +356,8 @@ UHCI::UHCI(pci_info *info, Stack *stack)
sPCIModule->write_pci_config(fPCIInfo->bus, fPCIInfo->device,
fPCIInfo->function, PCI_command, 2, command);
// make sure we gain controll of the UHCI controller instead of the BIOS
sPCIModule->write_pci_config(fPCIInfo->bus, fPCIInfo->device, 2,
// make sure we gain control of the UHCI controller instead of the BIOS
sPCIModule->write_pci_config(fPCIInfo->bus, fPCIInfo->device, fPCIInfo->function,
PCI_LEGSUP, 2, PCI_LEGSUP_USBPIRQDEN);
// disable interrupts