brcm47xx: add fallback sprom for pci devices without an own sprom.
authorHauke Mehrtens <hauke@openwrt.org>
Sun, 1 May 2011 20:28:35 +0000 (20:28 +0000)
committerHauke Mehrtens <hauke@openwrt.org>
Sun, 1 May 2011 20:28:35 +0000 (20:28 +0000)
commita6d76eb003579e0ca388f15cc75d7669356d6039
treea4af4b9a59d3ffae404928bc156a91909a87be21
parent3ebb74c8dfca1eaf99340a0869ad3f97a6c285f6
brcm47xx: add fallback sprom for pci devices without an own sprom.

If there is no sprom on an ssb based pci device on the brcm47xx
architecture ssb now asks the architecture code to look into the nvram
to get some sprom data for this device. Now we are able to read out
pci/1/1/ foo or pci/1/3/ foo config options.

This will fix some problems where the wireless devices does not got an
mac address and the following message was show:
ssb: WARNING: Invalid SPROM CRC (corrupt SPROM)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26801 3c298f89-4303-0410-b956-a3cf2f4a3e73
26 files changed:
package/broadcom-wl/patches/003-compat-2.6.35.patch
package/broadcom-wl/patches/910-fallback-sprom.patch
target/linux/brcm47xx/patches-2.6.37/031-ssb-add-callback-for-sprom.patch [new file with mode: 0644]
target/linux/brcm47xx/patches-2.6.37/032-bcm47xx-extend-bcm47xx_fill_sprom-with-prefix.patch [new file with mode: 0644]
target/linux/brcm47xx/patches-2.6.37/033-bcm47xx-register-fallback-callback.patch [new file with mode: 0644]
target/linux/brcm47xx/patches-2.6.37/034-bcm47xx-extend-and-fix-fill-sprom.patch [new file with mode: 0644]
target/linux/brcm47xx/patches-2.6.37/400-arch-bcm47xx.patch
target/linux/brcm47xx/patches-2.6.37/820-wgt634u-nvram-fix.patch
target/linux/brcm47xx/patches-2.6.37/977-ssb_export_fallback_sprom.patch [deleted file]
target/linux/brcm47xx/patches-2.6.37/980-wnr834b_no_cardbus_invariant.patch [new file with mode: 0644]
target/linux/brcm47xx/patches-2.6.38/031-ssb-add-callback-for-sprom.patch [new file with mode: 0644]
target/linux/brcm47xx/patches-2.6.38/032-bcm47xx-extend-bcm47xx_fill_sprom-with-prefix.patch [new file with mode: 0644]
target/linux/brcm47xx/patches-2.6.38/033-bcm47xx-register-fallback-callback.patch [new file with mode: 0644]
target/linux/brcm47xx/patches-2.6.38/034-bcm47xx-extend-and-fix-fill-sprom.patch [new file with mode: 0644]
target/linux/brcm47xx/patches-2.6.38/400-arch-bcm47xx.patch
target/linux/brcm47xx/patches-2.6.38/820-wgt634u-nvram-fix.patch
target/linux/brcm47xx/patches-2.6.38/977-ssb_export_fallback_sprom.patch [deleted file]
target/linux/brcm47xx/patches-2.6.38/980-wnr834b_no_cardbus_invariant.patch [new file with mode: 0644]
target/linux/brcm63xx/patches-2.6.37/110-gpiodev.patch
target/linux/brcm63xx/patches-2.6.37/180-udc_preliminary_support.patch
target/linux/brcm63xx/patches-2.6.37/200-extended-platform-devices.patch
target/linux/brcm63xx/patches-2.6.37/200-spi-board-info.patch
target/linux/brcm63xx/patches-2.6.37/240-spi.patch
target/linux/brcm63xx/patches-2.6.37/260-no_ehci_over_current_check.patch
target/linux/brcm63xx/patches-2.6.37/500-ssb-add-callback-for-sprom.patch [new file with mode: 0644]
target/linux/brcm63xx/patches-2.6.37/977-ssb_export_fallback_sprom.patch