X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Framips%2Fmt7620%2Fbase-files%2Fetc%2Fboard.d%2F02_network;h=398d275daee252f862999b91fb5eaf3b6f2bdfc8;hp=e884390c3197a020816eda8ad94c69c2dbe577f8;hb=b8eb602934f5e02d8a15678a82dd516b4b7765ff;hpb=2a860bf4f4d5e76bd61235eeade834b6f8e2c9fa 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 e884390c31..398d275dae 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 @@ -18,14 +18,12 @@ ramips_setup_interfaces() dovado,tiny-ac|\ ohyeah,oy-0001|\ phicomm,psg1208|\ - phicomm,psg1218a|\ planex,db-wrt01|\ planex,mzk-750dhp|\ ralink,mt7620a-evb|\ ralink,mt7620a-mt7610e-evb|\ ralink,mt7620a-v22sg-evb|\ sanlinking,d240|\ - youku,yk1|\ zbtlink,zbt-ape522ii|\ zbtlink,zbt-we826-16m|\ zbtlink,zbt-we826-32m|\ @@ -110,6 +108,7 @@ ramips_setup_interfaces() ;; dlink,dir-810l|\ netgear,jwnr2010-v5|\ + phicomm,psg1218a|\ trendnet,tew-810dr|\ zbtlink,zbt-we2026) ucidef_add_switch "switch0" \ @@ -217,6 +216,10 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "0:lan" "4:wan" "6@eth0" ;; + youku,yk1) + ucidef_add_switch "switch0" \ + "0:lan" "1:lan" "4:wan" "6@eth0" + ;; zbtlink,zbt-we1026-5g-16m) ucidef_add_switch "switch0" \ "0:lan" "6t@eth0" @@ -264,8 +267,6 @@ ramips_setup_macs() ;; alfa-network,ac1200rm|\ dlink,dir-810l|\ - phicomm,psg1218a|\ - phicomm,psg1218b|\ trendnet,tew-810dr) wan_mac=$(macaddr_add "$(mtd_get_mac_binary factory 0x28)" 1) ;; @@ -328,14 +329,16 @@ ramips_setup_macs() iptime,a104ns) wan_mac=$(macaddr_add "$(mtd_get_mac_binary u-boot 0x1fc20)" 2) ;; - lb-link,bl-w1200) + lb-link,bl-w1200|\ + phicomm,k2g|\ + phicomm,psg1218a|\ + phicomm,psg1218b) wan_mac=$(mtd_get_mac_binary factory 0x2e) label_mac=$wan_mac ;; lenovo,newifi-y1|\ lenovo,newifi-y1s|\ ohyeah,oy-0001|\ - phicomm,k2g|\ wavlink,wl-wn530hg4) wan_mac=$(mtd_get_mac_binary factory 0x2e) ;;