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)
commit67b28148421a72532bc29f0b80c21d6aae2445f3
treef652119be60ca8eb2adb1b6889afa7235a8dc065
parent6c74274c8d2eec1e92e338ef197ffe210cc5b52d
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>
SVN-Revision: 29675
target/linux/ar71xx/files/arch/mips/ar71xx/mach-wndr3700.c