aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2013-12-27 13:34:55 -0500
committerKevin O'Connor <kevin@koconnor.net>2014-01-29 12:57:01 -0500
commit6bdc59fbca7e9279023aecde6c6b1c2a3fab152c (patch)
treee3cac8457fa9777cf3e0e70dcd39e835909af562 /src
parentd42b795516c0efdcb4bded346872d69c5882ee62 (diff)
downloadseabios-hppa-6bdc59fbca7e9279023aecde6c6b1c2a3fab152c.zip
seabios-hppa-6bdc59fbca7e9279023aecde6c6b1c2a3fab152c.tar.gz
seabios-hppa-6bdc59fbca7e9279023aecde6c6b1c2a3fab152c.tar.bz2
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 <kevin@koconnor.net>
Diffstat (limited to 'src')
-rw-r--r--src/hw/usb-xhci.c1
1 files changed, 1 insertions, 0 deletions
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);
}
}