]> xenbits.xensource.com Git - seabios.git/commitdiff
xhci: Use 64bit writes to ERDP register.
authorKevin O'Connor <kevin@koconnor.net>
Fri, 27 Dec 2013 18:34:55 +0000 (13:34 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Wed, 29 Jan 2014 17:57:01 +0000 (12:57 -0500)
At least some real-world XHCI controllers expect a 64bit write to the
ERDP register.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/hw/usb-xhci.c

index dc98e5d8dbb6bbe22f87e5ef2c674c8591a10fa5..d0df6ee628e6813cf6fee704d3e91abb01877111 100644 (file)
@@ -379,6 +379,7 @@ static void xhci_process_events(struct usb_xhci_s *xhci)
         u32 addr = (u32)(&ir->erdp_low);
         u32 erdp = (u32)(evts->ring + nidx);
         pci_writel(addr, erdp);
+        pci_writel((u32)(&ir->erdp_high), 0);
     }
 }