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)
commit9dc8ccd225d480f88fd8f723014b9579e7495427
tree331540487ff5489befafb0afa1989fcf48cffe70
parenta3c6f0a6564df6d95a3398c59811c23eb8dc6215
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