From 4662c3b847f0c51fb34b9427ab0158d803af58b4 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 8 Sep 2014 17:33:16 +0000 Subject: [PATCH] ralink: dwc_otg->dwc2 the old dwc_otg driver is starting to fall apart and fails on newer 3g modems and some storage devices. switch to the upstream dwc2 driver which is no longer in staging/. Signed-off-by: John Crispin SVN-Revision: 42446 --- target/linux/ramips/rt305x/profiles/00-default.mk | 2 +- target/linux/ramips/rt305x/profiles/allnet.mk | 2 +- target/linux/ramips/rt305x/profiles/alpha.mk | 2 +- target/linux/ramips/rt305x/profiles/asus.mk | 2 +- target/linux/ramips/rt305x/profiles/aztech.mk | 2 +- target/linux/ramips/rt305x/profiles/belkin.mk | 4 ++-- target/linux/ramips/rt305x/profiles/broadway.mk | 2 +- target/linux/ramips/rt305x/profiles/dlink.mk | 6 +++--- target/linux/ramips/rt305x/profiles/fon.mk | 2 +- target/linux/ramips/rt305x/profiles/freestation5.mk | 2 +- target/linux/ramips/rt305x/profiles/hg255d.mk | 2 +- target/linux/ramips/rt305x/profiles/poray.mk | 2 +- target/linux/ramips/rt305x/profiles/sevenlinks.mk | 2 +- target/linux/ramips/rt305x/profiles/tenda.mk | 2 +- target/linux/ramips/rt305x/profiles/upvel.mk | 4 ++-- 15 files changed, 19 insertions(+), 19 deletions(-) diff --git a/target/linux/ramips/rt305x/profiles/00-default.mk b/target/linux/ramips/rt305x/profiles/00-default.mk index 55ac015bbe..a905d1ed80 100644 --- a/target/linux/ramips/rt305x/profiles/00-default.mk +++ b/target/linux/ramips/rt305x/profiles/00-default.mk @@ -8,7 +8,7 @@ define Profile/Default NAME:=Default Profile PACKAGES:=\ - kmod-usb-core kmod-usb-rt305x-dwc_otg \ + kmod-usb-core kmod-usb-dwc2 \ kmod-ledtrig-usbdev endef diff --git a/target/linux/ramips/rt305x/profiles/allnet.mk b/target/linux/ramips/rt305x/profiles/allnet.mk index be6b192ba8..e625f478bd 100644 --- a/target/linux/ramips/rt305x/profiles/allnet.mk +++ b/target/linux/ramips/rt305x/profiles/allnet.mk @@ -8,7 +8,7 @@ define Profile/ALL02393G NAME:=Allnet ALL0239-3G PACKAGES:=\ - kmod-usb-core kmod-usb-rt305x-dwc_otg \ + kmod-usb-core kmod-usb-dwc2 \ kmod-ledtrig-usbdev endef diff --git a/target/linux/ramips/rt305x/profiles/alpha.mk b/target/linux/ramips/rt305x/profiles/alpha.mk index a537509a99..2b8e3115f3 100644 --- a/target/linux/ramips/rt305x/profiles/alpha.mk +++ b/target/linux/ramips/rt305x/profiles/alpha.mk @@ -8,7 +8,7 @@ define Profile/ASL26555 NAME:=Alpha ASL26555 PACKAGES:=\ - kmod-usb-core kmod-usb-rt305x-dwc_otg \ + kmod-usb-core kmod-usb-dwc2 \ kmod-ledtrig-usbdev endef diff --git a/target/linux/ramips/rt305x/profiles/asus.mk b/target/linux/ramips/rt305x/profiles/asus.mk index dff569720c..d7fd8ca734 100644 --- a/target/linux/ramips/rt305x/profiles/asus.mk +++ b/target/linux/ramips/rt305x/profiles/asus.mk @@ -16,7 +16,7 @@ endef define Profile/RT-N13U NAME:=Asus RT-N13U - PACKAGES:=kmod-leds-gpio kmod-rt2800-pci wpad-mini kmod-usb-rt305x-dwc_otg + PACKAGES:=kmod-leds-gpio kmod-rt2800-pci wpad-mini kmod-usb-dwc2 endef define Profile/RT-N13U/Description diff --git a/target/linux/ramips/rt305x/profiles/aztech.mk b/target/linux/ramips/rt305x/profiles/aztech.mk index 63e5d5e294..4333f710eb 100644 --- a/target/linux/ramips/rt305x/profiles/aztech.mk +++ b/target/linux/ramips/rt305x/profiles/aztech.mk @@ -8,7 +8,7 @@ define Profile/HW550-3G NAME:=Aztech HW550-3G PACKAGES:=\ - kmod-usb-core kmod-usb-rt305x-dwc_otg \ + kmod-usb-core kmod-usb-dwc2 \ kmod-ledtrig-usbdev endef diff --git a/target/linux/ramips/rt305x/profiles/belkin.mk b/target/linux/ramips/rt305x/profiles/belkin.mk index 47968ed410..88688d69ba 100644 --- a/target/linux/ramips/rt305x/profiles/belkin.mk +++ b/target/linux/ramips/rt305x/profiles/belkin.mk @@ -9,7 +9,7 @@ define Profile/F5D8235V2 NAME:=Belkin F5D8235 v2 PACKAGES:=\ kmod-switch-rtl8366rb kmod-swconfig swconfig \ - kmod-usb-core kmod-usb-rt305x-dwc_otg \ + kmod-usb-core kmod-usb-dwc2 \ kmod-ledtrig-usbdev endef @@ -20,7 +20,7 @@ endef define Profile/F7C027 NAME:=Belkin F7C027 PACKAGES:=\ - -kmod-usb-core -kmod-usb-rt305x-dwc_otg \ + -kmod-usb-core -kmod-usb-dwc2 \ -kmod-ledtrig-usbdev endef diff --git a/target/linux/ramips/rt305x/profiles/broadway.mk b/target/linux/ramips/rt305x/profiles/broadway.mk index 9b8770b0f1..e7833b1f09 100644 --- a/target/linux/ramips/rt305x/profiles/broadway.mk +++ b/target/linux/ramips/rt305x/profiles/broadway.mk @@ -8,7 +8,7 @@ define Profile/BROADWAY NAME:=Hauppauge Broadway PACKAGES:=\ - kmod-usb-core kmod-usb-rt305x-dwc_otg \ + kmod-usb-core kmod-usb-dwc2 \ kmod-ledtrig-usbdev endef diff --git a/target/linux/ramips/rt305x/profiles/dlink.mk b/target/linux/ramips/rt305x/profiles/dlink.mk index 63208e815c..9008a4e50c 100644 --- a/target/linux/ramips/rt305x/profiles/dlink.mk +++ b/target/linux/ramips/rt305x/profiles/dlink.mk @@ -8,7 +8,7 @@ define Profile/DIR615H1 NAME:=Dlink DIR-615 H1 PACKAGES:=\ - -kmod-usb-core -kmod-usb-rt305x-dwc_otg \ + -kmod-usb-core -kmod-usb-dwc2 \ -kmod-ledtrig-usbdev endef @@ -21,7 +21,7 @@ $(eval $(call Profile,DIR615H1)) define Profile/DIR-615-D NAME:=Dlink DIR-615 D PACKAGES:=\ - -kmod-usb-core -kmod-usb-rt305x-dwc_otg \ + -kmod-usb-core -kmod-usb-dwc2 \ -kmod-ledtrig-usbdev endef @@ -34,7 +34,7 @@ $(eval $(call Profile,DIR-615-D)) define Profile/DCS930 NAME:=Dlink DCS-930 PACKAGES:=kmod-video-core kmod-video-uvc \ - kmod-usb-core kmod-usb-rt305x-dwc_otg + kmod-usb-core kmod-usb-dwc2 endef define Profile/DCS930/Description diff --git a/target/linux/ramips/rt305x/profiles/fon.mk b/target/linux/ramips/rt305x/profiles/fon.mk index 2e58dd8137..2c0d82a482 100644 --- a/target/linux/ramips/rt305x/profiles/fon.mk +++ b/target/linux/ramips/rt305x/profiles/fon.mk @@ -8,7 +8,7 @@ define Profile/FONERA20N NAME:=Fonera 2.0N PACKAGES:=\ - kmod-usb-core kmod-usb-rt305x-dwc_otg \ + kmod-usb-core kmod-usb-dwc2 \ kmod-ledtrig-usbdev endef diff --git a/target/linux/ramips/rt305x/profiles/freestation5.mk b/target/linux/ramips/rt305x/profiles/freestation5.mk index a3c105b95f..ce9c304989 100644 --- a/target/linux/ramips/rt305x/profiles/freestation5.mk +++ b/target/linux/ramips/rt305x/profiles/freestation5.mk @@ -8,7 +8,7 @@ define Profile/FREESTATION5 NAME:=FreeStation5 PACKAGES:=\ - kmod-usb-rt305x-dwc_otg kmod-rt2500-usb kmod-rt2800-usb kmod-rt2x00-usb + kmod-usb-dwc2 kmod-rt2500-usb kmod-rt2800-usb kmod-rt2x00-usb endef define Profile/FREESTATION5/Description diff --git a/target/linux/ramips/rt305x/profiles/hg255d.mk b/target/linux/ramips/rt305x/profiles/hg255d.mk index 721592acaf..3bb32dd049 100644 --- a/target/linux/ramips/rt305x/profiles/hg255d.mk +++ b/target/linux/ramips/rt305x/profiles/hg255d.mk @@ -7,7 +7,7 @@ define Profile/HG255D NAME:=HuaWei HG255D - PACKAGES:=kmod-leds-gpio wpad-mini kmod-usb-rt305x-dwc_otg + PACKAGES:=kmod-leds-gpio wpad-mini kmod-usb-dwc2 endef define Profile/HG255D/Description diff --git a/target/linux/ramips/rt305x/profiles/poray.mk b/target/linux/ramips/rt305x/profiles/poray.mk index 5b08d1e8bf..572d0e3351 100644 --- a/target/linux/ramips/rt305x/profiles/poray.mk +++ b/target/linux/ramips/rt305x/profiles/poray.mk @@ -7,7 +7,7 @@ define Profile/IP2202 NAME:=Poray IP2202 - PACKAGES:=kmod-usb-core kmod-usb2 kmod-usb-rt305x-dwc_otg \ + PACKAGES:=kmod-usb-core kmod-usb2 kmod-usb-dwc2 \ kmod-ledtrig-netdev kmod-ledtrig-timer endef diff --git a/target/linux/ramips/rt305x/profiles/sevenlinks.mk b/target/linux/ramips/rt305x/profiles/sevenlinks.mk index 424d16a796..e1a86652dd 100644 --- a/target/linux/ramips/rt305x/profiles/sevenlinks.mk +++ b/target/linux/ramips/rt305x/profiles/sevenlinks.mk @@ -8,7 +8,7 @@ define Profile/PX4885 NAME:=7Links PX-4885 PACKAGES:=\ - kmod-usb-core kmod-usb-rt305x-dwc_otg kmod-usb2 kmod-usb-ohci \ + kmod-usb-core kmod-usb-dwc2 kmod-usb2 kmod-usb-ohci \ kmod-ledtrig-usbdev kmod-leds-gpio endef diff --git a/target/linux/ramips/rt305x/profiles/tenda.mk b/target/linux/ramips/rt305x/profiles/tenda.mk index 10a4cb3077..d9d94cfbb9 100644 --- a/target/linux/ramips/rt305x/profiles/tenda.mk +++ b/target/linux/ramips/rt305x/profiles/tenda.mk @@ -8,7 +8,7 @@ define Profile/3G300M NAME:=Tenda 3G300M PACKAGES:=\ - kmod-usb-core kmod-usb-rt305x-dwc_otg \ + kmod-usb-core kmod-usb-dwc2 \ kmod-ledtrig-usbdev endef diff --git a/target/linux/ramips/rt305x/profiles/upvel.mk b/target/linux/ramips/rt305x/profiles/upvel.mk index 3910c8f169..590abb0411 100644 --- a/target/linux/ramips/rt305x/profiles/upvel.mk +++ b/target/linux/ramips/rt305x/profiles/upvel.mk @@ -8,7 +8,7 @@ define Profile/UR-336UN NAME:=UPVEL UR-336UN PACKAGES:=\ - kmod-usb-core kmod-usb-rt305x-dwc_otg \ + kmod-usb-core kmod-usb-dwc2 \ kmod-ledtrig-usbdev endef @@ -20,7 +20,7 @@ $(eval $(call Profile,UR-336UN)) define Profile/UR-326N4G NAME:=UPVEL UR-326N4G PACKAGES:=\ - kmod-usb-core kmod-usb-rt305x-dwc_otg \ + kmod-usb-core kmod-usb-dwc2 \ kmod-ledtrig-usbdev endef