aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files/etc
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/lantiq/base-files/etc')
-rw-r--r--target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom2
-rw-r--r--target/linux/lantiq/base-files/etc/uci-defaults/02_network9
2 files changed, 10 insertions, 1 deletions
diff --git a/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
index 2d5e09d015..a849584fcf 100644
--- a/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ b/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
@@ -29,7 +29,7 @@ case "$FIRMWARE" in
"RT2860.eeprom" )
local board=$(lantiq_board_id)
case $board in
- ARV7510PW22|ARV7525PW|ARV752DPW|ARV752DPW22)
+ ARV7510PW22|ARV7519PW|ARV7525PW|ARV752DPW|ARV752DPW22)
rt2x00_eeprom_extract "board_config" 1040 512
;;
*)
diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/02_network b/target/linux/lantiq/base-files/etc/uci-defaults/02_network
index 4903eb92d0..329fa2d72e 100644
--- a/target/linux/lantiq/base-files/etc/uci-defaults/02_network
+++ b/target/linux/lantiq/base-files/etc/uci-defaults/02_network
@@ -74,6 +74,15 @@ ARV4519PW|ARV7510PW22|ARV7518PW|ARV752DPW22)
ucidef_add_switch_vlan "switch0" "1" "0t 2 3 4 5"
;;
+# rtl8306g
+ARV7519PW)
+ lan_mac=$(mtd_get_mac_binary board_config 22)
+ wan_mac=$(macaddr_add "$lan_mac" 1)
+ ucidef_set_interface_lan "eth0.1"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4t"
+ ;;
+
WBMR)
ucidef_set_interface_lan "eth0.1"
ucidef_add_switch "switch0" "1" "1"