ramips: add HAME MPR-A2 support
This patch adds support for HAME MPR-A2 router using a DTS file. The platform is Ralink RT5350. http://wiki.openwrt.org/toh/hame/mpr-a2 Signed-off-by: Dmitry Shmygov <shmygov@rambler.ru> SVN-Revision: 36898
This commit is contained in:
@@ -26,6 +26,7 @@ preinit_set_mac_address() {
|
||||
dir-620-a1 |\
|
||||
esr-9753 |\
|
||||
freestation5 |\
|
||||
mpr-a2 | \
|
||||
nw718 |\
|
||||
psr-680w |\
|
||||
rt-n56u |\
|
||||
|
||||
@@ -6,6 +6,18 @@
|
||||
. /lib/ramips.sh
|
||||
|
||||
ramips_set_preinit_iface() {
|
||||
local board=$(ramips_board_name)
|
||||
|
||||
case "$board" in
|
||||
mpr-a2)
|
||||
#TODO
|
||||
# Ralink ethernet driver cannot re-open ethernet if it is opened during preinit and then closed.
|
||||
# Looks like Ralink ethernet driver has a problem.
|
||||
# Temporary solution is not to open ethernet during preinit.
|
||||
return 0
|
||||
;;
|
||||
esac
|
||||
|
||||
ifname=eth0
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user