Hi, This patch series adds support for big endian non-PCI UHCI HCs and then enables the GRUSBHC HCD to make use of the added functionality. Patch 1: Add support for big endian mmio. This patch also has two other changes: 1) Add 'const' to uhci_hcd argument and 2) Check if we need to support PCI I/O accesses while supporting MMIO HCs. Patch 2: Patch from Alan Stern Patch 3: Add support for big endian descriptors. Patch 4: Add detection and support for big endian to uhci-grlib.c Patches are against usb-next. Each patch has been compile tested on SPARC32 (LEON). Tests have been run with the full series applied on x86 with Intel UHCI HC (PCI), GR-LEON4-ITX (GRUSBHC, little endian) and on a custom LEON3 system with big endian GRUSBHC. Changes in V3: * Patch 4: Updated added comment After comments from Alan Stern: * Patch 1: Change if defined to ifdef/ifndef * Patch 2: Updated patch description * Patch 3: Don't define *_cpup. Change to #ifdef After comment from Sergei Shtylyov: * Patch 4: Corrected PORTSC example Changes in V2: * Updated description above After comments from Alan Stern: * Dropped patch 1 * Rewrote patch 2 (now patch 1) to use solution for big endian mmio that is closer to the solution used in the EHCI HCD. Also added check to see if we need to support PCI I/O accesses (perhaps this change should belong to another patch but it only changes behaviour for the recently added uhci-grlib.c so I doubt that there will be any regressions). * Patch 2: New patch from Alan Stern * Patch 3: Rebase on new patch from AS. Do not move uhci_hcd definition. * Patch 4: Updated to assign uhci->big_endian_mmio instead of function pointers. Best regards, Jan drivers/usb/host/Kconfig | 10 +++ drivers/usb/host/uhci-debug.c | 71 +++++++++-------- drivers/usb/host/uhci-grlib.c | 16 ++++ drivers/usb/host/uhci-hcd.c | 16 ++-- drivers/usb/host/uhci-hcd.h | 178 +++++++++++++++++++++++++++++++---------- drivers/usb/host/uhci-q.c | 131 +++++++++++++++--------------- 6 files changed, 276 insertions(+), 146 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html