ChangeSet 1.1019.1.21, 2003/07/30 12:46:44-07:00, [EMAIL PROTECTED]
[PATCH] USB: ehci needs a readb() on IDP425 PCI (ARM)
This is a one-line "obviously correct" patch that Lutz reports
is needed on one ARM platform.
drivers/usb/host/ehci-hcd.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
diff -Nru a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
--- a/drivers/usb/host/ehci-hcd.c Thu Aug 28 14:50:34 2003
+++ b/drivers/usb/host/ehci-hcd.c Thu Aug 28 14:50:34 2003
@@ -333,7 +333,8 @@
spin_lock_init (&ehci->lock);
ehci->caps = (struct ehci_caps *) hcd->regs;
- ehci->regs = (struct ehci_regs *) (hcd->regs + ehci->caps->length);
+ ehci->regs = (struct ehci_regs *) (hcd->regs +
+ readb (&ehci->caps->length));
dbg_hcs_params (ehci, "ehci_start");
dbg_hcc_params (ehci, "ehci_start");
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel