forked from Ivasoft/openwrt
ralink: Add support for samsung cy-swr1100 wireless router
It is base on rt3662 soc with dual band 802.11n wireless router. Use rtl8367R switch chip. This patch adds a profile for this board. It use seama image header. so i also enable it on kernel config. Signed-off-by: michael lee <igvtee@gmail.com> SVN-Revision: 40908
This commit is contained in:
@@ -51,6 +51,7 @@ preinit_set_mac_address() {
|
||||
mac=$(mtd_get_mac_binary devdata 16388)
|
||||
ifconfig eth0 hw ether $mac 2>/dev/null
|
||||
;;
|
||||
cy-swr1100 |\
|
||||
dir-645)
|
||||
mac=$(mtd_get_mac_ascii nvram lanmac)
|
||||
mac=$(macaddr_setbit_la "$mac")
|
||||
|
||||
@@ -70,6 +70,9 @@ ramips_board_detect() {
|
||||
*"Aztech HW550-3G")
|
||||
name="hw550-3g"
|
||||
;;
|
||||
*"CY-SWR1100")
|
||||
name="cy-swr1100"
|
||||
;;
|
||||
*"DCS-930")
|
||||
name="dcs-930"
|
||||
;;
|
||||
|
||||
@@ -97,6 +97,7 @@ platform_check_image() {
|
||||
}
|
||||
return 0
|
||||
;;
|
||||
cy-swr1100 |\
|
||||
dir-610-a1 |\
|
||||
dir-645)
|
||||
[ "$magic" != "5ea3a417" ] && {
|
||||
|
||||
Reference in New Issue
Block a user