diff options
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rw-r--r-- | target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom | 4 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/etc/uci-defaults/network | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom index 9a714ddc6..ac97d037c 100644 --- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom +++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom @@ -68,6 +68,10 @@ case "$FIRMWARE" in rt2x00_eeprom_extract "factory" 0 272 ;; + wl341v3) + rt2x00_eeprom_extract "board-nvram" 64880 272 + ;; + *) rt2x00_eeprom_die "board $board is not supported yet" ;; diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network index cc5600bcf..bce24e843 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/network +++ b/target/linux/ramips/base-files/etc/uci-defaults/network @@ -111,6 +111,11 @@ ramips_setup_macs() wan_mac=$(ramips_get_mac_binary factory 40) ;; + wl341v3) + lan_mac=$(ramips_get_mac_binary board-nvram 65440) + wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 1) + ;; + wli-tx4-ag300n) lan_mac=$(ramips_get_mac_binary factory 4) ;; |