USB: UHCI: Add support for big endian mmio
authorJan Andersson <jan@gaisler.com>
Wed, 18 May 2011 08:44:49 +0000 (10:44 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 19 May 2011 23:43:19 +0000 (16:43 -0700)
commit8452c6745e74384e7e434144f989ada3eae41170
tree4ead646def1a541b4ca7062b5dab2b4a3e737a2d
parent5116901d8596a52598364d41581c0a745da003bc
USB: UHCI: Add support for big endian mmio

This patch adds support for big endian mmio to the UHCI HCD. Big endian
mmio is supported by adding a flag bit to the UHCI HCD replicating the
solution used in the EHCI HCD.

When adding big endian support this patch also adds a check to see if we
need to support HCs with PCI I/O registers when we support HCs with MMIO.

This patch also adds 'const' to the register access functions' uhci_hcd
argument.

Signed-off-by: Jan Andersson <jan@gaisler.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/Kconfig
drivers/usb/host/uhci-hcd.h