AA: ar71xx: Routerboard 751 Mac Address Offset Fix
authorGabor Juhos <juhosg@openwrt.org>
Sat, 9 Feb 2013 12:53:52 +0000 (12:53 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 9 Feb 2013 12:53:52 +0000 (12:53 +0000)
commit2a6a85191b023df6f4792213a19a5a2c04c1540a
treec3fd73618a3e5b98561789fbb7e069802d46fddb
parente8bc096f318d4fff00e7e13e0df5779961fab3a0
AA: ar71xx: Routerboard 751 Mac Address Offset Fix

Backport of r35519.

We utilize many Routerboard 751's and discovered that our latest batch
of RB751's would not initialize the wireless radio. We have determined
Mikrotik has changed where the mac address was located inside hardconfig.
As such we utilize "routerboot_find_tag" to find the location of the mac
address. We should remove "RB751_MAC_ADDRESS_OFFSET" as it is ambiguous
by machine manufacturing date. The newer batch of RB751's that we received
had a RB751_MAC_ADDRESS_OFFSET 0x10.

Signed-off-by: Davey Hutchison <dhutchison@bluemesh.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35531
target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c