[PATCH 0/4] USB: UHCI: Add support for big endian GRUSBHC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: Convert the uhci_{read,write}* functions to use function
pointers to register access functions. This is done in order to reduce
the amount of nested ifdefs when later adding support for big endian
mmio.

Patch 2: Add functions used for big endian mmio.

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) and x86. 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.

Best regards,
  Jan

 drivers/usb/host/Kconfig      |   10 +
 drivers/usb/host/uhci-debug.c |   71 +++---
 drivers/usb/host/uhci-grlib.c |   30 +++
 drivers/usb/host/uhci-hcd.c   |   16 +-
 drivers/usb/host/uhci-hcd.h   |  509 ++++++++++++++++++++++++++---------------
 drivers/usb/host/uhci-pci.c   |    8 +
 drivers/usb/host/uhci-q.c     |  131 ++++++-----
 7 files changed, 484 insertions(+), 291 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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux