linux/drivers/usb/host
Stefan Roese 6dbd682b7c USB: EHCI support for big-endian descriptors
This patch implements supports for EHCI controllers whose in-memory
data structures are represented in big-endian format. This is needed
(unfortunately) for the AMCC PPC440EPx SoC EHCI controller; the EHCI
spec doesn't specify little-endian format, although that's what most
other implementations use.

The guts of the patch are to introduce the hc32 type and change all
references from le32 to hc32.  All access routines are converted from
cpu_to_le32(...) to cpu_to_hc32(ehci, ...) and similar for the other
"direction".  (This is the same approach used with OHCI.)

David fixed:
	Whitespace fixes; refresh against ehci cpufreq patch; move glue
	for that PPC driver to the patch adding it; fix free symbol
	capture bugs in modified "constant" macros; and make "hc32" etc
	be "le32" unless we really need the BE options, so "sparse" can
	do some real good.

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-07-12 16:29:45 -07:00
..
ehci-au1xxx.c USB: Properly unregister reboot notifier in case of failure in ehci hcd 2006-09-27 11:58:54 -07:00
ehci-dbg.c USB: EHCI support for big-endian descriptors 2007-07-12 16:29:45 -07:00
ehci-fsl.c ehci-fsl: fix cache coherency problem on system with large memory 2007-05-23 20:14:15 -07:00
ehci-fsl.h ehci-fsl: fix cache coherency problem on system with large memory 2007-05-23 20:14:15 -07:00
ehci-hcd.c USB: EHCI support for big-endian descriptors 2007-07-12 16:29:45 -07:00
ehci-hub.c EHCI: add delay to bus_resume before accessing ports 2007-04-27 13:28:35 -07:00
ehci-mem.c USB: EHCI support for big-endian descriptors 2007-07-12 16:29:45 -07:00
ehci-pci.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
ehci-ps3.c Merge branch 'linux-2.6' 2007-05-08 13:37:51 +10:00
ehci-q.c USB: EHCI support for big-endian descriptors 2007-07-12 16:29:45 -07:00
ehci-sched.c USB: EHCI support for big-endian descriptors 2007-07-12 16:29:45 -07:00
ehci.h USB: EHCI support for big-endian descriptors 2007-07-12 16:29:45 -07:00
isp116x-hcd.c USB: change __init to __devinit for isp116x_probe 2007-02-16 15:32:22 -08:00
isp116x.h USB: Dealias -110 code (more complete) 2006-09-27 11:59:00 -07:00
Kconfig USB: EHCI support for big-endian descriptors 2007-07-12 16:29:45 -07:00
Makefile USB: remove ancient/broken CRIS hcd 2007-04-27 13:28:42 -07:00
ohci-at91.c USB: at91-ohci, handle extra at91sam9261 ahb clock 2007-02-16 15:32:24 -08:00
ohci-au1xxx.c ohci: Rework bus glue integration to allow several at once 2007-02-07 15:44:33 -08:00
ohci-dbg.c USB: ohci whitespace/comment fixups 2006-12-20 10:14:26 -08:00
ohci-ep93xx.c [PATCH] Scheduled removal of SA_xxx interrupt flags fixups 2007-02-14 08:09:54 -08:00
ohci-hcd.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
ohci-hub.c OHCI: Fix machine check in ohci_hub_status_data 2007-06-08 16:24:31 -07:00
ohci-lh7a404.c ohci: Rework bus glue integration to allow several at once 2007-02-07 15:44:33 -08:00
ohci-mem.c USB: ohci whitespace/comment fixups 2006-12-20 10:14:26 -08:00
ohci-omap.c ohci: Rework bus glue integration to allow several at once 2007-02-07 15:44:33 -08:00
ohci-pci.c USB: Fix USB OHCI Subvendor for Toshiba Portege 4000 2007-05-22 23:45:50 -07:00
ohci-pnx4008.c [PATCH] Scheduled removal of SA_xxx interrupt flags fixups 2007-02-14 08:09:54 -08:00
ohci-pnx8550.c [PATCH] Scheduled removal of SA_xxx interrupt flags fixups 2007-02-14 08:09:54 -08:00
ohci-ppc-of.c [POWERPC] Rename device_is_compatible to of_device_is_compatible 2007-05-07 20:31:14 +10:00
ohci-ppc-soc.c ohci: Rework bus glue integration to allow several at once 2007-02-07 15:44:33 -08:00
ohci-ps3.c Merge branch 'linux-2.6' 2007-05-08 13:37:51 +10:00
ohci-pxa27x.c [ARM] 4304/1: removes the unnecessary bit number from CKENnn_XXXX 2007-04-21 23:14:01 +01:00
ohci-q.c USB: ohci whitespace/comment fixups 2006-12-20 10:14:26 -08:00
ohci-s3c2410.c ohci: Rework bus glue integration to allow several at once 2007-02-07 15:44:33 -08:00
ohci-sa1111.c ohci: Rework bus glue integration to allow several at once 2007-02-07 15:44:33 -08:00
ohci.h [PATCH] hci_{read,write}l() does force casts to wrong type for no reason 2007-02-09 09:14:08 -08:00
pci-quirks.c EHCI: fix problem with BIOS handoff 2007-05-22 23:45:48 -07:00
pci-quirks.h [PATCH] USB: pci-quirks.c: proper prototypes 2006-04-14 11:12:20 -07:00
sl811-hcd.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
sl811.h
sl811_cs.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
u132-hcd.c USB: fix more ftdi-elan/u132-hcd #include lossage 2007-05-22 23:45:48 -07:00
uhci-debug.c UHCI: Fix problem caused by lack of terminating QH 2007-03-26 14:17:48 -07:00
uhci-hcd.c UHCI: Fix problem caused by lack of terminating QH 2007-03-26 14:17:48 -07:00
uhci-hcd.h UHCI: Eliminate asynchronous skeleton Queue Headers 2007-02-23 15:03:45 -08:00
uhci-hub.c UHCI: fix port resume problem 2007-03-09 19:52:23 -08:00
uhci-q.c UHCI: Add some WARN_ON()s 2007-04-27 13:28:36 -07:00