From: Kevin O'Connor Date: Fri, 27 Dec 2013 18:34:55 +0000 (-0500) Subject: xhci: Use 64bit writes to ERDP register. X-Git-Tag: rel-1.7.5-rc1~67 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=6bdc59fbca7e9279023aecde6c6b1c2a3fab152c;p=seabios.git xhci: Use 64bit writes to ERDP register. At least some real-world XHCI controllers expect a 64bit write to the ERDP register. Signed-off-by: Kevin O'Connor --- diff --git a/src/hw/usb-xhci.c b/src/hw/usb-xhci.c index dc98e5d..d0df6ee 100644 --- a/src/hw/usb-xhci.c +++ b/src/hw/usb-xhci.c @@ -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); } }