aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib/preinit
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-01-15 18:29:44 +0000
committerJohn Crispin <john@openwrt.org>2014-01-15 18:29:44 +0000
commitbeb29461ff05ce04eaafcbc24c65b2b95fc91f56 (patch)
treeb9a19dd4c2bfc9805cbd4cc8badcca9646a6a960 /target/linux/ramips/base-files/lib/preinit
parent62dd252b86b10d055b55558d9944573a282dd50c (diff)
downloadupstream-beb29461ff05ce04eaafcbc24c65b2b95fc91f56.tar.gz
upstream-beb29461ff05ce04eaafcbc24c65b2b95fc91f56.tar.bz2
upstream-beb29461ff05ce04eaafcbc24c65b2b95fc91f56.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> SVN-Revision: 39298
Diffstat (limited to 'target/linux/ramips/base-files/lib/preinit')
-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 |\