summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-01-15 18:29:44 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-01-15 18:29:44 +0000
commit35b0fd76eccbe2c49b82f5194e859bf868fcd6d3 (patch)
treea4e9c78966e8e1fd7a74ba2fcc49528c8007700e /target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
parentddd5e0a686d9b9e62ef4d2e313c7fc2a2263cf90 (diff)
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39298 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/lib/preinit/06_set_iface_mac')
-rw-r--r--target/linux/ramips/base-files/lib/preinit/06_set_iface_mac4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
index 96665bdf7f..d2dc00f8bc 100644
--- a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
+++ b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
@@ -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 |\