Author: blogic Date: 2014-06-18 12:08:08 +0200 (Wed, 18 Jun 2014) New Revision: 41255
Modified: trunk/target/linux/ar71xx/base-files/etc/diag.sh trunk/target/linux/ar71xx/base-files/etc/uci-defaults/02_network trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh Log: ar71xx: Fixes for 951Ui-2HnD board support WAN and LAN are swapped the wrong way around. This patch fixes that by adding the 951Ui-2HnD to ar71xx.sh and the relevant entry in 02_network. This patch also defines the ACT LED as the status LED in diag.sh. Signed-off-by: Matthew Reeve <[email protected]> Signed-off-by: John Crispin <[email protected]> Modified: trunk/target/linux/ar71xx/base-files/etc/diag.sh =================================================================== --- trunk/target/linux/ar71xx/base-files/etc/diag.sh 2014-06-18 10:08:05 UTC (rev 41254) +++ trunk/target/linux/ar71xx/base-files/etc/diag.sh 2014-06-18 10:08:08 UTC (rev 41255) @@ -128,6 +128,9 @@ rb-912uag-5hpnd) status_led="rb:green:user" ;; + rb-951ui-2hnd) + status_led="rb:green:act" + ;; routerstation | routerstation-pro) status_led="ubnt:green:rf" ;; Modified: trunk/target/linux/ar71xx/base-files/etc/uci-defaults/02_network =================================================================== --- trunk/target/linux/ar71xx/base-files/etc/uci-defaults/02_network 2014-06-18 10:08:05 UTC (rev 41254) +++ trunk/target/linux/ar71xx/base-files/etc/uci-defaults/02_network 2014-06-18 10:08:08 UTC (rev 41255) @@ -130,6 +130,10 @@ ucidef_add_switch_vlan "switch0" "2" "0t 1" ;; +rb-951ui-2hnd) + ucidef_set_interfaces_lan_wan "eth1" "eth0" + ;; + rb-493g) ucidef_set_interfaces_lan_wan "eth0 eth1.1" "eth1.2" ucidef_add_switch "switch0" "1" "1" Modified: trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh =================================================================== --- trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh 2014-06-18 10:08:05 UTC (rev 41254) +++ trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh 2014-06-18 10:08:08 UTC (rev 41255) @@ -442,6 +442,9 @@ *"RouterBOARD 951G-2HnD") name="rb-951g-2hnd" ;; + *"RouterBOARD 951Ui-2HnD") + name="rb-951ui-2hnd" + ;; *"RouterBOARD 2011L") name="rb-2011l" ;; _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
