]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: BCM47xx: sprom: read values without prefix as fallback
authorHauke Mehrtens <hauke@hauke-m.de>
Wed, 3 Oct 2012 11:34:20 +0000 (11:34 +0000)
committerJohn Crispin <blogic@openwrt.org>
Fri, 9 Nov 2012 10:37:17 +0000 (11:37 +0100)
commit23d23c51948d7277fd1eaf4b41b3eaaee18e1506
treeb922fe57b6316e7f3730ef4ab45d485351106bd3
parent463b503e2fb11ea6e3a65cb1bfcda0d1b8bc5355
MIPS: BCM47xx: sprom: read values without prefix as fallback

There are bcma based devices like the Linksys E2000 out there, which do
have one ieee80211 core, but no PCIe core and they are using no
prefixes for the sprom. In addition some values like boardtype are
stored without a prefix for the main SoC chip also when they have an
additional PCIe wifi chip with an own boardtype var on some devices.

The Ethernet addresses are now also read out correctly without a prefix
so calling bcm47xx_fill_sprom_ethernet is not needed any more.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Patchwork: http://patchwork.linux-mips.org/patch/4364
Signed-off-by: John Crispin <blogic@openwrt.org>
arch/mips/bcm47xx/setup.c
arch/mips/bcm47xx/sprom.c
arch/mips/include/asm/mach-bcm47xx/bcm47xx.h