Author: janderwald
Date: Thu Feb  2 23:35:56 2012
New Revision: 55387

URL: http://svn.reactos.org/svn/reactos?rev=55387&view=rev
Log:
[EHCI]
- Explictely clear bios owned flag and remove all SMI interrupts

Modified:
    branches/usb-bringup-trunk/drivers/usb/usbehci_new/hardware.cpp

Modified: branches/usb-bringup-trunk/drivers/usb/usbehci_new/hardware.cpp
URL: 
http://svn.reactos.org/svn/reactos/branches/usb-bringup-trunk/drivers/usb/usbehci_new/hardware.cpp?rev=55387&r1=55386&r2=55387&view=diff
==============================================================================
--- branches/usb-bringup-trunk/drivers/usb/usbehci_new/hardware.cpp 
[iso-8859-1] (original)
+++ branches/usb-bringup-trunk/drivers/usb/usbehci_new/hardware.cpp 
[iso-8859-1] Thu Feb  2 23:35:56 2012
@@ -644,10 +644,24 @@
                 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));
+
+
             }
         }
     }


Reply via email to