aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/image
diff options
context:
space:
mode:
authorLuiz Angelo Daros de Luca <luizluca@gmail.com>2022-04-26 18:51:32 -0300
committerChristian Marangi <ansuelsmth@gmail.com>2022-07-01 20:22:52 +0200
commit575ec7a4b1a085f243961ef13dd23f228a60e67e (patch)
tree3ef3685f56cc137d6ac777bfed8aa14f7acf1acd /target/linux/ath79/image
parent1b14e25d2e884fe4dce239f8bc6ac68ee702b4a8 (diff)
downloadupstream-575ec7a4b1a085f243961ef13dd23f228a60e67e.tar.gz
upstream-575ec7a4b1a085f243961ef13dd23f228a60e67e.tar.bz2
upstream-575ec7a4b1a085f243961ef13dd23f228a60e67e.zip
ath79: use rtl8366rb as a module
It looks like rtl8366rb is used only by tplink_tl-wr1043nd-v1 and buffalo_wzr-hp-g300nh-rb. There is no need to have it built-in as it works as a loadable module. Tested both failsafe and normal boot on tl-wr1043nd-v1. buffalo_wzr-hp-g300nh-rb was not tested. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Diffstat (limited to 'target/linux/ath79/image')
-rw-r--r--target/linux/ath79/image/generic-tp-link.mk2
-rw-r--r--target/linux/ath79/image/generic.mk1
2 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ath79/image/generic-tp-link.mk b/target/linux/ath79/image/generic-tp-link.mk
index 6d9ba2cd40..21cbade7cc 100644
--- a/target/linux/ath79/image/generic-tp-link.mk
+++ b/target/linux/ath79/image/generic-tp-link.mk
@@ -682,7 +682,7 @@ define Device/tplink_tl-wr1043nd-v1
SOC := ar9132
DEVICE_MODEL := TL-WR1043N/ND
DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
+ DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-switch-rtl8366rb
TPLINK_HWID := 0x10430001
SUPPORTED_DEVICES += tl-wr1043nd
endef
diff --git a/target/linux/ath79/image/generic.mk b/target/linux/ath79/image/generic.mk
index 8d059f3679..4cc89a4b97 100644
--- a/target/linux/ath79/image/generic.mk
+++ b/target/linux/ath79/image/generic.mk
@@ -581,6 +581,7 @@ TARGET_DEVICES += buffalo_wzr-hp-g300nh-rb
define Device/buffalo_wzr-hp-g300nh-s
$(Device/buffalo_wzr-hp-g300nh)
DEVICE_MODEL := WZR-HP-G300NH (RTL8366S switch)
+ DEVICE_PACKAGES += kmod-switch-rtl8366rb
endef
TARGET_DEVICES += buffalo_wzr-hp-g300nh-s