aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib/preinit
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-07-24 20:38:43 +0000
committerJohn Crispin <john@openwrt.org>2012-07-24 20:38:43 +0000
commit799d6deab07bb0412b5f18c1c35a21183c9dbd87 (patch)
treeeff79339c492e86022358fe0c8e09595bbf55277 /target/linux/ramips/base-files/lib/preinit
parentb891eec7001663f8ec4ca4a141ad31ea78163350 (diff)
downloadupstream-799d6deab07bb0412b5f18c1c35a21183c9dbd87.tar.gz
upstream-799d6deab07bb0412b5f18c1c35a21183c9dbd87.tar.bz2
upstream-799d6deab07bb0412b5f18c1c35a21183c9dbd87.zip
D-Link DAP-1350 initial support
The initial support for the D-Link DAP-1350. USB related functionality is not tested. Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp> SVN-Revision: 32821
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 126c475a4b..f701b7e075 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
@@ -29,6 +29,10 @@ preinit_set_mac_address() {
mac=$(ramips_get_mac_binary devdata 16388)
ifconfig eth0 hw ether $mac 2>/dev/null
;;
+ dap-1350)
+ mac=$(ramips_get_mac_binary devdata 46)
+ ifconfig eth0 hw ether $mac 2>/dev/null
+ ;;
all0256n |\
all5002 | \
fonera20n |\