diff options
Diffstat (limited to 'target/linux/ath79/generic/base-files/etc/board.d/02_network')
-rw-r--r-- | target/linux/ath79/generic/base-files/etc/board.d/02_network | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ath79/generic/base-files/etc/board.d/02_network b/target/linux/ath79/generic/base-files/etc/board.d/02_network index 52e773fea3..4133b9d7d3 100644 --- a/target/linux/ath79/generic/base-files/etc/board.d/02_network +++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network @@ -186,6 +186,10 @@ ath79_setup_interfaces() ubnt,routerstation) ucidef_set_interfaces_lan_wan "eth1" "eth0" ;; + comfast,cf-e375ac) + ucidef_add_switch "switch0" \ + "0@eth0" "1:wan" "2:lan" + ;; comfast,cf-e560ac) ucidef_set_interface_wan "eth1" ucidef_add_switch "switch0" \ @@ -487,6 +491,9 @@ ath79_setup_macs() lan_mac=$(fritz_tffs -n maca -i $(find_mtd_part "tffs (1)")) wan_mac=$(fritz_tffs -n macb -i $(find_mtd_part "tffs (1)")) ;; + comfast,cf-e375ac) + wan_mac=$(macaddr_add $(mtd_get_mac_binary art 0x0) 1) + ;; compex,wpj344-16m|\ compex,wpj563) wan_mac=$(mtd_get_mac_binary u-boot 0x2e018) |