[EHCI]
authorJohannes Anderwald <johannes.anderwald@reactos.org>
Thu, 2 Feb 2012 23:35:56 +0000 (23:35 +0000)
committerJohannes Anderwald <johannes.anderwald@reactos.org>
Thu, 2 Feb 2012 23:35:56 +0000 (23:35 +0000)
- Explictely clear bios owned flag and remove all SMI interrupts

svn path=/branches/usb-bringup-trunk/; revision=55387

drivers/usb/usbehci_new/hardware.cpp

index 9ae3e9f..9830762 100644 (file)
@@ -644,10 +644,24 @@ CUSBHardwareDevice::StartController(void)
                 else if ((Caps & EHCI_LEGSUP_OSOWNED))
                 {
                     //
                 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");
                 }
                     //
                     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));
+
+
             }
         }
     }
             }
         }
     }