ar71xx: local mac support on the wndr3700
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 7 Jan 2012 17:24:44 +0000 (17:24 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 7 Jan 2012 17:24:44 +0000 (17:24 +0000)
commit54bc3d42c433d28002eb518e7b292efca5728a8d
tree331540487ff5489befafb0afa1989fcf48cffe70
parentc2243d1fb9e44f9f4dbf83f8e85b4d52b30aea82
ar71xx: local mac support on the wndr3700

The wndr3700 at least has no eth0 mac address and usually leverages
the first wireless device's mac when in a bridged scenario. If,
however, you want to route, and not bridge the interfaces, you
need a unique mac address for it.

This patch sets the local bit on the mac address pulled from the
wireless chip and uses the resulting address for eth0.

Patch-by: Dave Taht <dave.taht@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29675 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ar71xx/files/arch/mips/ar71xx/mach-wndr3700.c