Hope that this works, didn't have a chance to actually test it...

Signed-off-by: Daniel Golle <dgo...@allnet.de>
---
 target/linux/ramips/files/arch/mips/ralink/Kconfig         | 2 ++
 target/linux/ramips/patches-3.3/200-rt3883-ehci-glue.patch | 2 +-
 target/linux/ramips/patches-3.3/201-rt3883-ohci-glue.patch | 2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/target/linux/ramips/files/arch/mips/ralink/Kconfig 
b/target/linux/ramips/files/arch/mips/ralink/Kconfig
index b594881..444a88a 100644
--- a/target/linux/ramips/files/arch/mips/ralink/Kconfig
+++ b/target/linux/ramips/files/arch/mips/ralink/Kconfig
@@ -52,6 +52,8 @@ config SOC_RT305X
        select SYS_HAS_EARLY_PRINTK
        select MIPS_MACHINE
        select USB_ARCH_HAS_HCD
+       select USB_ARCH_HAS_OHCI
+       select USB_ARCH_HAS_EHCI
 
 config SOC_RT3883
        bool
diff --git a/target/linux/ramips/patches-3.3/200-rt3883-ehci-glue.patch 
b/target/linux/ramips/patches-3.3/200-rt3883-ehci-glue.patch
index 636b6b2..7fbcc94 100644
--- a/target/linux/ramips/patches-3.3/200-rt3883-ehci-glue.patch
+++ b/target/linux/ramips/patches-3.3/200-rt3883-ehci-glue.patch
@@ -6,7 +6,7 @@
  
 +config USB_EHCI_RT3883
 +      bool "EHCI support for Ralink RT3662/RT3883 SoCs"
-+      depends on USB_EHCI_HCD && SOC_RT3883
++      depends on USB_EHCI_HCD && ( SOC_RT3883 || SOC_RT305X )
 +      select USB_EHCI_ROOT_HUB_TT
 +      default y
 +      ---help---
diff --git a/target/linux/ramips/patches-3.3/201-rt3883-ohci-glue.patch 
b/target/linux/ramips/patches-3.3/201-rt3883-ohci-glue.patch
index 983e4f9..ba1aa58 100644
--- a/target/linux/ramips/patches-3.3/201-rt3883-ohci-glue.patch
+++ b/target/linux/ramips/patches-3.3/201-rt3883-ohci-glue.patch
@@ -6,7 +6,7 @@
  
 +config USB_OHCI_RT3883
 +      bool "USB OHCI support for the Ralink RT3883 SoCs"
-+      depends on USB_OHCI_HCD && SOC_RT3883
++      depends on USB_OHCI_HCD && ( SOC_RT3883 || SOC_RT305X )
 +      default y
 +      help
 +        Enables support for the built-in OHCI controller present on the
-- 
1.7.11.2

Attachment: pgp0JAXiPB3Fg.pgp
Description: PGP signature

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to