diff options
author | John Crispin <blogic@openwrt.org> | 2014-01-15 18:29:44 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-01-15 18:29:44 +0000 |
commit | 00482d1b777e234591ceac0ef72630fb8743bd0c (patch) | |
tree | a4e9c78966e8e1fd7a74ba2fcc49528c8007700e /target/linux/ramips/base-files/lib/preinit/06_set_iface_mac | |
parent | bbbec80e5146857020a79be49873c4aec72fd673 (diff) | |
download | master-187ad058-00482d1b777e234591ceac0ef72630fb8743bd0c.tar.gz master-187ad058-00482d1b777e234591ceac0ef72630fb8743bd0c.tar.bz2 master-187ad058-00482d1b777e234591ceac0ef72630fb8743bd0c.zip |
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_mac | 4 |
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 |\ |