diff options
Diffstat (limited to 'target/linux/ramips/mt7620/base-files/etc')
-rwxr-xr-x | target/linux/ramips/mt7620/base-files/etc/board.d/02_network | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ramips/mt7620/base-files/etc/board.d/02_network b/target/linux/ramips/mt7620/base-files/etc/board.d/02_network index 44a9db6ece..8ae50b3df5 100755 --- a/target/linux/ramips/mt7620/base-files/etc/board.d/02_network +++ b/target/linux/ramips/mt7620/base-files/etc/board.d/02_network @@ -143,7 +143,8 @@ ramips_setup_interfaces() "0:lan" "1:lan" "5:wan" "6@eth0" ;; iodata,wn-ac1167gr|\ - iodata,wn-ac733gr3) + iodata,wn-ac733gr3|\ + iptime,a1004ns) ucidef_add_switch "switch0" ucidef_add_switch_attr "switch0" "enable" "false" ucidef_add_switch "switch1" \ @@ -312,6 +313,9 @@ ramips_setup_macs() iodata,wn-ac733gr3) wan_mac=$(mtd_get_mac_ascii u-boot-env wanaddr) ;; + iptime,a1004ns) + wan_mac=$(mtd_get_mac_binary u-boot 0x1fc40) + ;; iptime,a104ns) wan_mac=$(macaddr_add "$(mtd_get_mac_binary u-boot 0x1fc20)" 2) ;; |