[openwrt/openwrt] ath79: use rtl8367 as a module

LEDE Commits lede-commits at lists.infradead.org
Fri Jul 1 11:23:10 PDT 2022


ansuel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/b168a07799663c84c5e72c1b94e01fab590fc6f8

commit b168a07799663c84c5e72c1b94e01fab590fc6f8
Author: Luiz Angelo Daros de Luca <luizluca at gmail.com>
AuthorDate: Tue Apr 26 19:30:54 2022 -0300

    ath79: use rtl8367 as a module
    
    rtl8367 is used only by tl-wr2543-v1. Tested both normal and failsafe
    modes.
    
    Signed-off-by: Luiz Angelo Daros de Luca <luizluca at gmail.com>
---
 target/linux/ath79/generic/config-default   | 1 -
 target/linux/ath79/image/generic-tp-link.mk | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/target/linux/ath79/generic/config-default b/target/linux/ath79/generic/config-default
index bc619cd9b8..3b986f6620 100644
--- a/target/linux/ath79/generic/config-default
+++ b/target/linux/ath79/generic/config-default
@@ -21,6 +21,5 @@ CONFIG_REALTEK_PHY=y
 CONFIG_REGULATOR_FIXED_VOLTAGE=y
 CONFIG_RTL8366S_PHY=y
 CONFIG_RTL8366_SMI=y
-CONFIG_RTL8367_PHY=y
 CONFIG_VITESSE_PHY=y
 CONFIG_WATCHDOG_CORE=y
diff --git a/target/linux/ath79/image/generic-tp-link.mk b/target/linux/ath79/image/generic-tp-link.mk
index 21cbade7cc..ffe1d6e290 100644
--- a/target/linux/ath79/image/generic-tp-link.mk
+++ b/target/linux/ath79/image/generic-tp-link.mk
@@ -750,7 +750,7 @@ define Device/tplink_tl-wr2543-v1
   SOC := ar7242
   DEVICE_MODEL := TL-WR2543N/ND
   DEVICE_VARIANT := v1
-  DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
+  DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-switch-rtl8367
   TPLINK_HWID := 0x25430001
   IMAGE/sysupgrade.bin := tplink-v1-image sysupgrade -v 3.13.99 | \
 	check-size | append-metadata




More information about the lede-commits mailing list