From b1587061beef3a9bfed1cd3daf7f2f386ee45e95 Mon Sep 17 00:00:00 2001 From: Johannes Anderwald Date: Thu, 2 Feb 2012 23:35:56 +0000 Subject: [PATCH] [EHCI] - Explictely clear bios owned flag and remove all SMI interrupts svn path=/branches/usb-bringup-trunk/; revision=55387 --- drivers/usb/usbehci_new/hardware.cpp | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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)); + + } } } -- 2.17.1