ramips: Add userspace support for the Edimax BR-6475nD

The rt2x00 wifi driver may still need updating to
function with this device.

Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org>

SVN-Revision: 39298
This commit is contained in:
John Crispin
2014-01-15 18:29:44 +00:00
parent 62dd252b86
commit beb29461ff
7 changed files with 31 additions and 1 deletions

View File

@@ -39,6 +39,10 @@ preinit_set_mac_address() {
mac=$(macaddr_setbit_la "$mac")
ifconfig eth0 hw ether $mac 2>/dev/null
;;
br-6475nd)
mac=$(mtd_get_mac_binary devdata 13)
ifconfig eth0 hw ether $mac 2>/dev/null
;;
asl26555 |\
dir-300-b1 |\
dir-300-b2 |\

View File

@@ -109,6 +109,9 @@ ramips_board_detect() {
*"ESR-9753")
name="esr-9753"
;;
*"Edimax BR-6475nD")
name="br-6475nd"
;;
*"F7C027")
name="f7c027"
;;

View File

@@ -100,6 +100,13 @@ platform_check_image() {
}
return 0
;;
br-6475nd)
[ "$magic" != "43535953" ] && {
echo "Invalid image type."
return 1
}
return 0
;;
esac
echo "Sysupgrade is not yet supported on $board."