ar71xx: local mac support on the wndr3700
authorGabor Juhos <juhosg@openwrt.org>
Sat, 7 Jan 2012 17:24:44 +0000 (17:24 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 7 Jan 2012 17:24:44 +0000 (17:24 +0000)
commitc64226d2ad14f8a9ea0af1b88a80a97ec85baa68
tree331540487ff5489befafb0afa1989fcf48cffe70
parent1f6caadd7062d46a8780f5c761030739109fd0c7
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