mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[ramips] 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32821 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -39,6 +39,9 @@ get_status_led() {
|
||||
dir-300-b1 | dir-600-b1 | dir-600-b2)
|
||||
status_led="d-link:green:status"
|
||||
;;
|
||||
dap-1350)
|
||||
status_led="d-link:blue:power"
|
||||
;;
|
||||
esr-9753)
|
||||
status_led="esr-9753:orange:power"
|
||||
;;
|
||||
|
||||
@@ -38,6 +38,10 @@ case "$FIRMWARE" in
|
||||
rt2x00_eeprom_extract "devdata" 16384 272
|
||||
;;
|
||||
|
||||
dap-1350)
|
||||
rt2x00_eeprom_extract "devdata" 0 272
|
||||
;;
|
||||
|
||||
rt-n10-plus | \
|
||||
rt-g32-b1)
|
||||
rt2x00_eeprom_extract "devconf" 0 272
|
||||
|
||||
@@ -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 |\
|
||||
|
||||
@@ -80,6 +80,9 @@ ramips_board_name() {
|
||||
*"DIR-600 B2")
|
||||
name="dir-600-b2"
|
||||
;;
|
||||
*"DAP-1350")
|
||||
name="dap-1350"
|
||||
;;
|
||||
*"ESR-9753")
|
||||
name="esr-9753"
|
||||
;;
|
||||
|
||||
@@ -21,6 +21,7 @@ platform_check_image() {
|
||||
dir-300-b1 | \
|
||||
dir-600-b1 | \
|
||||
dir-600-b2 | \
|
||||
dap-1350 | \
|
||||
esr-9753 | \
|
||||
fonera20n | \
|
||||
freestation5 | \
|
||||
|
||||
Reference in New Issue
Block a user