From 2a7e03af37d1112c2c2f6b6c80283d4d49407889 Mon Sep 17 00:00:00 2001 From: Lucian Cristian Date: Thu, 21 Jun 2018 01:02:10 +0300 Subject: ath79: add tl-wr2543-v1 support to switch between wlan leds we need a userspace implementation Signed-off-by: Lucian Cristian --- target/linux/ath79/base-files/etc/board.d/02_network | 4 ++++ target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom | 1 + 2 files changed, 5 insertions(+) (limited to 'target/linux/ath79/base-files') diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network index 743b877aba..d978c3441e 100755 --- a/target/linux/ath79/base-files/etc/board.d/02_network +++ b/target/linux/ath79/base-files/etc/board.d/02_network @@ -70,6 +70,10 @@ ath79_setup_interfaces() ucidef_add_switch "switch0" \ "0@eth1" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "5:wan" "6@eth0" ;; + "tplink,tl-wr2543-v1") + ucidef_add_switch "switch0" \ + "1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "9@eth0" + ;; "netgear,wndr3800") ucidef_set_interfaces_lan_wan "eth0" "eth1" ucidef_add_switch "switch0" \ diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom index 5b22b1544f..7023fa5e58 100644 --- a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom +++ b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom @@ -57,6 +57,7 @@ case "$FIRMWARE" in "netgear,wnr612-v2"|\ "on,n150r"|\ "tplink,tl-wr740n-v2"|\ + "tplink,tl-wr2543-v1"|\ "ubnt,unifi") ath9k_eeprom_extract "art" 4096 2048 ;; -- cgit v1.2.3