[OpenWrt-Devel] [PATCH] lantiq: use dwc2 by default on BTHOMEHUBV3A and WBMR

Ben Mulvihill ben.mulvihill at gmail.com
Mon Apr 25 06:26:55 EDT 2016


The dwc2 USB driver now works on Lantiq ar9, but the
default is still ltq-hcd-ar9. This patch switches to
dwc2 by default, on the two boards I can test, namely
BTHOMEHUBV3A and WBMR. John, if you are happy with the
principle of switching would you prefer me to send a patch
covering all the ar9 boards? I presume that if one works
then the others should too.

Thanks,

Ben

Signed-off-by: Ben Mulvihill <ben.mulvihill at gmail.com>
---
diff -uprN a/target/linux/lantiq/xway/profiles/bt.mk b/target/linux/lantiq/xway/profiles/bt.mk
--- a/target/linux/lantiq/xway/profiles/bt.mk	2016-04-25 11:53:27.000000000 +0200
+++ b/target/linux/lantiq/xway/profiles/bt.mk	2016-04-25 11:56:42.000000000 +0200
@@ -18,7 +18,7 @@ $(eval $(call Profile,BTHOMEHUBV2B))
 
 define Profile/BTHOMEHUBV3A
   NAME:=BT Home Hub 3A
-  PACKAGES:=kmod-ltq-hcd-ar9 kmod-ledtrig-usbdev \
+  PACKAGES:=kmod-usb-dwc2 kmod-ledtrig-usbdev \
 	kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
 	kmod-ltq-adsl-ar9-fw-a kmod-ltq-atm-ar9 \
 	kmod-ltq-deu-ar9 \
diff -uprN a/target/linux/lantiq/xway/profiles/buffalo.mk b/target/linux/lantiq/xway/profiles/buffalo.mk
--- a/target/linux/lantiq/xway/profiles/buffalo.mk	2016-04-25 11:53:27.000000000 +0200
+++ b/target/linux/lantiq/xway/profiles/buffalo.mk	2016-04-25 11:57:25.000000000 +0200
@@ -1,6 +1,6 @@
 define Profile/WBMRA
   NAME:=Buffalo WBMR-HP-G300H (A) - WBMR
-  PACKAGES:=kmod-ltq-hcd-ar9 kmod-ledtrig-usbdev \
+  PACKAGES:=kmod-usb-dwc2 kmod-ledtrig-usbdev \
 	kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
 	kmod-ltq-adsl-ar9-fw-a kmod-ltq-atm-ar9 \
 	ltq-adsl-app ppp-mod-pppoa \
@@ -12,7 +12,7 @@ $(eval $(call Profile,WBMRA))
 
 define Profile/WBMRB
   NAME:=Buffalo WBMR-HP-G300H (B) - WBMR
-  PACKAGES:=kmod-ltq-hcd-ar9 kmod-ledtrig-usbdev \
+  PACKAGES:=kmod-usb-dwc2 kmod-ledtrig-usbdev \
 	kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
 	kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \
 	ltq-adsl-app ppp-mod-pppoa \
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list