[OpenWrt-Devel] [PATCH v2] lantiq: use dwc2 by default on all ar9 boards
Ben Mulvihill
ben.mulvihill at gmail.com
Mon Apr 25 12:01:09 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.
v2: all ar9 boards (v1 was just for BTHOMEHUBV3A and WBMR)
Signed-off-by: Ben Mulvihill <ben.mulvihill at gmail.com>
---
diff -uprN a/target/linux/lantiq/xway/profiles/avm.mk b/target/linux/lantiq/xway/profiles/avm.mk
--- a/target/linux/lantiq/xway/profiles/avm.mk 2016-04-25 11:53:27.000000000 +0200
+++ b/target/linux/lantiq/xway/profiles/avm.mk 2016-04-25 17:47:37.000000000 +0200
@@ -4,7 +4,7 @@ define Profile/FRITZ7320
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 \
- kmod-ltq-deu-ar9 kmod-ltq-hcd-ar9
+ kmod-ltq-deu-ar9 kmod-usb-dwc2
endef
$(eval $(call Profile,FRITZ7320))
diff -uprN a/target/linux/lantiq/xway/profiles/aztech.mk b/target/linux/lantiq/xway/profiles/aztech.mk
--- a/target/linux/lantiq/xway/profiles/aztech.mk 2016-04-25 11:53:27.000000000 +0200
+++ b/target/linux/lantiq/xway/profiles/aztech.mk 2016-04-25 17:47:55.000000000 +0200
@@ -1,7 +1,7 @@
define Profile/GR7000
NAME:=Aztech GR7000
PACKAGES:= \
- kmod-ltq-deu-ar9 kmod-ltq-hcd-ar9 \
+ kmod-ltq-deu-ar9 kmod-usb-dwc2 \
swconfig
endef
$(eval $(call Profile,GR7000))
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 17:44:19.000000000 +0200
+++ b/target/linux/lantiq/xway/profiles/bt.mk 2016-04-25 17:46:23.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 17:44:06.000000000 +0200
+++ b/target/linux/lantiq/xway/profiles/buffalo.mk 2016-04-25 17:46:23.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 \
diff -uprN a/target/linux/lantiq/xway/profiles/netgear.mk b/target/linux/lantiq/xway/profiles/netgear.mk
--- a/target/linux/lantiq/xway/profiles/netgear.mk 2016-04-25 11:53:27.000000000 +0200
+++ b/target/linux/lantiq/xway/profiles/netgear.mk 2016-04-25 17:48:34.000000000 +0200
@@ -1,6 +1,6 @@
define Profile/DGN3500
NAME:=Netgear DGN3500
- PACKAGES:=kmod-ltq-hcd-ar9 kmod-ledtrig-usbdev \
+ PACKAGES:=kmod-usb-dwc2 kmod-ledtrig-usbdev \
kmod-ath9k wpad-mini \
kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
kmod-ltq-adsl-ar9-fw-a kmod-ltq-atm-ar9 \
@@ -12,7 +12,7 @@ $(eval $(call Profile,DGN3500))
define Profile/DGN3500B
NAME:=Netgear DGN3500B
- PACKAGES:=kmod-ltq-hcd-ar9 kmod-ledtrig-usbdev \
+ PACKAGES:=kmod-usb-dwc2 kmod-ledtrig-usbdev \
kmod-ath9k wpad-mini \
kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \
diff -uprN a/target/linux/lantiq/xway/profiles/zte.mk b/target/linux/lantiq/xway/profiles/zte.mk
--- a/target/linux/lantiq/xway/profiles/zte.mk 2016-04-25 11:53:27.000000000 +0200
+++ b/target/linux/lantiq/xway/profiles/zte.mk 2016-04-25 17:48:53.000000000 +0200
@@ -4,7 +4,7 @@ define Profile/H201L
kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \
ltq-adsl-app ppp-mod-pppoe \
- kmod-ltq-deu-ar9 kmod-ltq-hcd-ar9 \
+ kmod-ltq-deu-ar9 kmod-usb-dwc2 \
kmod-ltq-tapi kmod-ltq-vmmc \
swconfig
endef
diff -uprN a/target/linux/lantiq/xway/profiles/zyxel.mk b/target/linux/lantiq/xway/profiles/zyxel.mk
--- a/target/linux/lantiq/xway/profiles/zyxel.mk 2016-04-25 11:53:27.000000000 +0200
+++ b/target/linux/lantiq/xway/profiles/zyxel.mk 2016-04-25 17:49:09.000000000 +0200
@@ -4,7 +4,7 @@ define Profile/P2601HNFX
kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \
ltq-adsl-app ppp-mod-pppoe \
- kmod-ltq-deu-ar9 kmod-ltq-hcd-ar9 \
+ kmod-ltq-deu-ar9 kmod-usb-dwc2 \
swconfig
endef
$(eval $(call Profile,P2601HNFX))
_______________________________________________
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