From: Johannes Anderwald Date: Thu, 2 Feb 2012 23:35:56 +0000 (+0000) Subject: [EHCI] X-Git-Tag: backups/usb-bringup-trunk@60667~58 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=b1587061beef3a9bfed1cd3daf7f2f386ee45e95 [EHCI] - Explictely clear bios owned flag and remove all SMI interrupts svn path=/branches/usb-bringup-trunk/; revision=55387 --- diff --git a/drivers/usb/usbehci_new/hardware.cpp b/drivers/usb/usbehci_new/hardware.cpp index 9ae3e9f6082..9830762d7e9 100644 --- a/drivers/usb/usbehci_new/hardware.cpp +++ b/drivers/usb/usbehci_new/hardware.cpp @@ -644,10 +644,24 @@ CUSBHardwareDevice::StartController(void) else if ((Caps & EHCI_LEGSUP_OSOWNED)) { // - // HC OS Owned Semaphore EHCI 2.1.8 + // HC OS Owned Semaphore EHCI 2.1.7 // DPRINT1("[EHCI] acquired ownership\n"); } + + // + // explictly clear the bios owned flag 2.1.7 + // + Value = 0; + m_BusInterface.SetBusData(m_BusInterface.Context, PCI_WHICHSPACE_CONFIG, &Value, ExtendedCapsSupport+2, sizeof(UCHAR)); + + // + // clear SMI interrupt EHCI 2.1.8 + // + Caps = 4; + m_BusInterface.SetBusData(m_BusInterface.Context, PCI_WHICHSPACE_CONFIG, &Caps, ExtendedCapsSupport+4, sizeof(ULONG)); + + } } }