I think the USB HCD should print the actual PCI memory address, not the
ioremapped address. AFAIK, there's no reason the ioremapped address has
to have any fixed relationship to the actual address. Also, this makes
it match what's in /proc/iomem. I also added a leading "0x". Example
from ia64:
- ehci_hcd 0000:00:01.2: irq 52, pci mem c000000080021000
+ ehci_hcd 0000:00:01.2: irq 52, pci mem 0x80021000
USB HCD: print actual PCI mem address, not the ioremapped value.
Signed-off-by: Bjorn Helgaas <[EMAIL PROTECTED]>
===== drivers/usb/core/hcd-pci.c 1.33 vs edited =====
--- 1.33/drivers/usb/core/hcd-pci.c 2004-06-30 11:06:30 -06:00
+++ edited/drivers/usb/core/hcd-pci.c 2004-09-01 10:42:03 -06:00
@@ -188,9 +188,9 @@
}
hcd->irq = dev->irq;
- dev_info (hcd->self.controller, "irq %s, %s %p\n", bufp,
+ dev_info (hcd->self.controller, "irq %s, %s 0x%lx\n", bufp,
(driver->flags & HCD_MEMORY) ? "pci mem" : "io base",
- base);
+ resource);
usb_bus_init (&hcd->self);
hcd->self.op = &usb_hcd_operations;
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel