diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2006-12-14 14:54:03 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-02-07 18:44:31 -0500 |
commit | 11d1a4aa8d657478cb2e5d33f203ba8f01b9ac24 (patch) | |
tree | b433927494c87f5f4d4ee03b78a35b894705037d /drivers/usb/host/Kconfig | |
parent | 4302a595cd9c6363b495460497ecbda49fa16858 (diff) |
USB: Implement support for "split" endian OHCI
This patch separates support for big endian MMIO register access
and big endian descriptors in order to support the Toshiba SCC
implementation which has big endian registers but little endian
in-memory descriptors.
It simplifies the access functions a bit in ohci.h while at it.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/Kconfig')
-rw-r--r-- | drivers/usb/host/Kconfig | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index cc60759083bf..faabce8bf39f 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig | |||
@@ -101,7 +101,8 @@ config USB_OHCI_HCD_PPC_SOC | |||
101 | bool "OHCI support for on-chip PPC USB controller" | 101 | bool "OHCI support for on-chip PPC USB controller" |
102 | depends on USB_OHCI_HCD && (STB03xxx || PPC_MPC52xx) | 102 | depends on USB_OHCI_HCD && (STB03xxx || PPC_MPC52xx) |
103 | default y | 103 | default y |
104 | select USB_OHCI_BIG_ENDIAN | 104 | select USB_OHCI_BIG_ENDIAN_DESC |
105 | select USB_OHCI_BIG_ENDIAN_MMIO | ||
105 | ---help--- | 106 | ---help--- |
106 | Enables support for the USB controller on the MPC52xx or | 107 | Enables support for the USB controller on the MPC52xx or |
107 | STB03xxx processor chip. If unsure, say Y. | 108 | STB03xxx processor chip. If unsure, say Y. |
@@ -115,7 +116,12 @@ config USB_OHCI_HCD_PCI | |||
115 | Enables support for PCI-bus plug-in USB controller cards. | 116 | Enables support for PCI-bus plug-in USB controller cards. |
116 | If unsure, say Y. | 117 | If unsure, say Y. |
117 | 118 | ||
118 | config USB_OHCI_BIG_ENDIAN | 119 | config USB_OHCI_BIG_ENDIAN_DESC |
120 | bool | ||
121 | depends on USB_OHCI_HCD | ||
122 | default n | ||
123 | |||
124 | config USB_OHCI_BIG_ENDIAN_MMIO | ||
119 | bool | 125 | bool |
120 | depends on USB_OHCI_HCD | 126 | depends on USB_OHCI_HCD |
121 | default n | 127 | default n |