From e8e5a1eaf84cdd90d6a564a35e4caf025053d6ee Mon Sep 17 00:00:00 2001 From: juhosg Date: Sat, 22 Dec 2012 12:11:08 +0000 Subject: ramips: convert to use {e,o}hci-platform driver Signed-off-by: Gabor Juhos git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34843 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../ramips/patches-3.6/200-rt3883-ehci-glue.patch | 32 ---------------------- .../ramips/patches-3.6/201-rt3883-ohci-glue.patch | 31 --------------------- 2 files changed, 63 deletions(-) delete mode 100644 target/linux/ramips/patches-3.6/200-rt3883-ehci-glue.patch delete mode 100644 target/linux/ramips/patches-3.6/201-rt3883-ohci-glue.patch (limited to 'target/linux/ramips/patches-3.6') diff --git a/target/linux/ramips/patches-3.6/200-rt3883-ehci-glue.patch b/target/linux/ramips/patches-3.6/200-rt3883-ehci-glue.patch deleted file mode 100644 index 2e1439c2a..000000000 --- a/target/linux/ramips/patches-3.6/200-rt3883-ehci-glue.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- a/drivers/usb/host/Kconfig -+++ b/drivers/usb/host/Kconfig -@@ -235,6 +235,15 @@ config USB_EHCI_ATH79 - Enables support for the built-in EHCI controller present - on the Atheros AR7XXX/AR9XXX SoCs. - -+config USB_EHCI_RT3883 -+ bool "EHCI support for Ralink RT3662/RT3883 SoCs" -+ depends on USB_EHCI_HCD && ( SOC_RT3883 || SOC_RT305X ) -+ select USB_EHCI_ROOT_HUB_TT -+ default y -+ ---help--- -+ Enables support for the built-in EHCI controller present -+ on the Ralink RT3883 SoC. -+ - config USB_OXU210HP_HCD - tristate "OXU210HP HCD support" - depends on USB ---- a/drivers/usb/host/ehci-hcd.c -+++ b/drivers/usb/host/ehci-hcd.c -@@ -1339,6 +1339,11 @@ MODULE_LICENSE ("GPL"); - #define PLATFORM_DRIVER ehci_platform_driver - #endif - -+#ifdef CONFIG_USB_EHCI_RT3883 -+#include "ehci-rt3883.c" -+#define PLATFORM_DRIVER ehci_rt3883_driver -+#endif -+ - #if !defined(PCI_DRIVER) && !defined(PLATFORM_DRIVER) && \ - !defined(PS3_SYSTEM_BUS_DRIVER) && !defined(OF_PLATFORM_DRIVER) && \ - !defined(XILINX_OF_PLATFORM_DRIVER) diff --git a/target/linux/ramips/patches-3.6/201-rt3883-ohci-glue.patch b/target/linux/ramips/patches-3.6/201-rt3883-ohci-glue.patch deleted file mode 100644 index d55bac4fe..000000000 --- a/target/linux/ramips/patches-3.6/201-rt3883-ohci-glue.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- a/drivers/usb/host/Kconfig -+++ b/drivers/usb/host/Kconfig -@@ -342,6 +342,14 @@ config USB_OHCI_ATH79 - Enables support for the built-in OHCI controller present on the - Atheros AR71XX/AR7240 SoCs. - -+config USB_OHCI_RT3883 -+ bool "USB OHCI support for the Ralink RT3883 SoCs" -+ depends on USB_OHCI_HCD && ( SOC_RT3883 || SOC_RT305X ) -+ default y -+ help -+ Enables support for the built-in OHCI controller present on the -+ Ralink RT3883 SoC. -+ - config USB_OHCI_HCD_PPC_SOC - bool "OHCI support for on-chip PPC USB controller" - depends on USB_OHCI_HCD && (STB03xxx || PPC_MPC52xx) ---- a/drivers/usb/host/ohci-hcd.c -+++ b/drivers/usb/host/ohci-hcd.c -@@ -1120,6 +1120,11 @@ MODULE_LICENSE ("GPL"); - #define PLATFORM_DRIVER ohci_platform_driver - #endif - -+#ifdef CONFIG_USB_OHCI_RT3883 -+#include "ohci-rt3883.c" -+#define PLATFORM_DRIVER ohci_rt3883_driver -+#endif -+ - #if !defined(PCI_DRIVER) && \ - !defined(PLATFORM_DRIVER) && \ - !defined(OMAP1_PLATFORM_DRIVER) && \ -- cgit v1.2.3