mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ramips: rt305x: add support for the ALFA Networks W502U (R36) board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29615 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -51,4 +51,8 @@ case $board in
|
||||
nw718)
|
||||
set_usb_led "nw718:amber:usb"
|
||||
;;
|
||||
w502u)
|
||||
set_usb_led "alfa:blue:usb"
|
||||
set_wifi_led "rt2800pci-phy0::radio"
|
||||
;;
|
||||
esac
|
||||
|
||||
@@ -19,7 +19,8 @@ ramips_setup_interfaces()
|
||||
argus-atp52b | \
|
||||
b2c | \
|
||||
f5d8235-v2 | \
|
||||
nw718)
|
||||
nw718 | \
|
||||
w502u)
|
||||
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
|
||||
;;
|
||||
|
||||
@@ -86,6 +87,11 @@ ramips_setup_macs()
|
||||
wan_mac=$(ramips_get_mac_binary factory 40)
|
||||
;;
|
||||
|
||||
w502u)
|
||||
lan_mac=$(ramips_get_mac_binary factory 40)
|
||||
wan_mac=$(ramips_get_mac_binary factory 46)
|
||||
;;
|
||||
|
||||
wli-tx4-ag300n)
|
||||
lan_mac=$(ramips_get_mac_binary factory 4)
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user