AA: ar71xx: Routerboard 751 Mac Address Offset Fix
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 9 Feb 2013 12:53:52 +0000 (12:53 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 9 Feb 2013 12:53:52 +0000 (12:53 +0000)
commitb8c4f1dff8bbf4b934a2d27abf9dffac7614e52c
tree625339715f5ee1387d1dc674f6a07491def23b7a
parent899fecef4a99a11feecf4dcd93c460531e77b5b1
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>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35531 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c