diff options
Diffstat (limited to 'target/linux/lantiq/base-files')
-rwxr-xr-x | target/linux/lantiq/base-files/etc/board.d/02_network | 9 | ||||
-rw-r--r-- | target/linux/lantiq/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom | 7 |
2 files changed, 10 insertions, 6 deletions
diff --git a/target/linux/lantiq/base-files/etc/board.d/02_network b/target/linux/lantiq/base-files/etc/board.d/02_network index 2f744f859a..f63be9e3fd 100755 --- a/target/linux/lantiq/base-files/etc/board.d/02_network +++ b/target/linux/lantiq/base-files/etc/board.d/02_network @@ -100,7 +100,16 @@ EASY80920NAND|EASY80920NOR) "0:lan:4" "1:lan:3" "2:lan:2" "4:lan:1" "5:wan:5" "6t@eth0" ;; +FRITZ3370) + wan_mac=$(macaddr_add "$(mtd_get_mac_binary urlader 2439)" 1) + ;; + +FRITZ7320) + wan_mac=$(macaddr_add "$(mtd_get_mac_binary urlader 2705)" 1) + ;; + FRITZ7360SL) + wan_mac=$(macaddr_add "$(mtd_get_mac_binary urlader 2705)" 1) ucidef_add_switch "switch0" \ "0:lan:3" "1:lan:4" "2:lan:2" "4:lan:1" "6t@eth0" ;; diff --git a/target/linux/lantiq/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom b/target/linux/lantiq/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom index 6b9d23a799..7144423d43 100644 --- a/target/linux/lantiq/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom +++ b/target/linux/lantiq/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom @@ -138,13 +138,8 @@ case "$FIRMWARE" in ath9k_eeprom_extract "calibration" 61440 0 ath9k_patch_fw_mac_crc $(macaddr_add $(mtd_get_mac_ascii uboot-env ethaddr) +2) 524 ;; - FRITZ3370) + FRITZ3370|FRITZ7320|FRITZ7360SL) ath9k_eeprom_extract "urlader" 2437 0 - ath9k_patch_fw_mac "00:00:00:00:00:00" 2 - ;; - FRITZ7320|FRITZ7360SL) - ath9k_eeprom_extract "urlader" 2437 0 - ath9k_patch_fw_mac_crc "00:00:00:00:00:00" 268 ;; TDW8970|TDW8980) ath9k_eeprom_extract "boardconfig" 135168 0 |