Re: [RFC 14/18] USB: ehci: add bus glue for the Atheros AR71XX/AR724X/AR913X SoCs

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

 



On 11/12/2010 11:50 AM, Gabor Juhos wrote:
The Atheros AR71XX/AR724X/AR913X SoCs have a built-in EHCI controller.
This patch adds the necessary glue code to make the generic EHCI driver
usable for them.

Signed-off-by: Gabor Juhos<juhosg@xxxxxxxxxxx>
Signed-off-by: Imre Kaloz<kaloz@xxxxxxxxxxx>
Cc: David Brownell<dbrownell@xxxxxxxxxxxxxxxxxxxxx>
Cc: Greg Kroah-Hartman<gregkh@xxxxxxx>
Cc: linux-usb@xxxxxxxxxxxxxxx
---
  drivers/usb/Kconfig           |    3 +
  drivers/usb/host/Kconfig      |    8 ++
  drivers/usb/host/ehci-ath79.c |  176 +++++++++++++++++++++++++++++++++++++++++
  drivers/usb/host/ehci-hcd.c   |    5 +
  4 files changed, 192 insertions(+), 0 deletions(-)
  create mode 100644 drivers/usb/host/ehci-ath79.c

diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig
index 67eb377..a4d06bb 100644
--- a/drivers/usb/Kconfig
+++ b/drivers/usb/Kconfig
@@ -60,6 +60,9 @@ config USB_ARCH_HAS_EHCI
  	boolean
  	default y if PPC_83xx
  	default y if PPC_MPC512x
+	default y if SOC_AR71XX
+	default y if SOC_AR724X
+	default y if SOC_AR913X
  	default y if SOC_AU1200
  	default y if ARCH_IXP4XX
  	default y if ARCH_W90X900

These don't belong here.

Do 'select USB_ARCH_HAS_EHCI' in the same place you select all your other platform dependent things.

See arch/arm/Kconfig, arch/arm/mach-omap2/Kconfig, arch/microblaze/Kconfig, arch/mips/Kconfig for examples.

Thanks,
David Daney
--
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