The first 3 patches add the ability to provide an fallback sprom from the nvram when a card connected to the pci bus using a ssb bus itself has no own sprom. Then the ssb code now asks the architecture code for the data. In the bcm47xx architecture the sprom data is stored in the nvram for recent devices and they do not have an own sprom. Patch #4 looks for some more values in the sprom. Boradcom changed the names of some attributes with sprom revision 4. The last patch fixes the parsing of mac addresses on some devices. There are still some checkpatch warnings about not using kstrto*. WARNING: consider using kstrto* in preference to simple_strtoul I will fix this in a later patch as there are many usages of simple_strtoul in arch/mips/bcm47xx/setup.c. v2: * fix some checkpatch errors and warnings * fix spelling issues Hauke Mehrtens (5): ssb: Change fallback sprom to callback mechanism. MIPS: BCM47xx: extend bcm47xx_fill_sprom with prefix. MIPS: BCM47xx: register ssb fallback sprom callback MIPS: BCM47xx: extend the filling of sprom from nvram MIPS: BCM47xx: Fix mac address parsing. arch/mips/bcm47xx/nvram.c | 3 +- arch/mips/bcm47xx/setup.c | 130 +++++++++++++++++++++++----- arch/mips/bcm63xx/boards/board_bcm963xx.c | 16 +++- arch/mips/include/asm/mach-bcm47xx/nvram.h | 12 ++- drivers/ssb/pci.c | 16 +++- drivers/ssb/sprom.c | 43 ++++++---- drivers/ssb/ssb_private.h | 3 +- include/linux/ssb/ssb.h | 4 +- 8 files changed, 175 insertions(+), 52 deletions(-) -- 1.7.4.1