Ticket #2083: echi_handover.diff
File echi_handover.diff, 1.1 KB (added by , 15 years ago) |
---|
-
src/add-ons/kernel/busses/usb/ehci.cpp
181 181 uint32 legacySupport = sPCIModule->read_pci_config(fPCIInfo->bus, 182 182 fPCIInfo->device, fPCIInfo->function, extendedCapPointer, 4); 183 183 if ((legacySupport & EHCI_LEGSUP_CAPID_MASK) == EHCI_LEGSUP_CAPID) { 184 if (legacySupport & EHCI_LEGSUP_BIOSOWNED) 184 if (legacySupport & EHCI_LEGSUP_BIOSOWNED) { 185 185 TRACE_ALWAYS("the host controller is bios owned\n"); 186 186 187 TRACE_ALWAYS("claiming ownership of the host controller\n"); 188 sPCIModule->write_pci_config(fPCIInfo->bus, fPCIInfo->device, 189 fPCIInfo->function, extendedCapPointer + 3, 1, 1); 187 TRACE_ALWAYS("claiming ownership of the host controller\n"); 188 sPCIModule->write_pci_config(fPCIInfo->bus, fPCIInfo->device, 189 fPCIInfo->function, extendedCapPointer + 3, 1, 1); 190 } 190 191 191 192 for (int32 i = 0; i < 20; i++) { 192 193 legacySupport = sPCIModule->read_pci_config(fPCIInfo->bus,