broadcom-wl: fix reading fallback sprom for pci devices.
authorHauke Mehrtens <hauke@openwrt.org>
Fri, 10 Feb 2012 17:11:17 +0000 (17:11 +0000)
committerHauke Mehrtens <hauke@openwrt.org>
Fri, 10 Feb 2012 17:11:17 +0000 (17:11 +0000)
commitd3e3c8edb180f3206e1cca495f8c0b504b472bf8
treedacee7f70a137437a0844b0f6f3c33b77efbef4c
parenta0c1e51d41b16d9b8b4c79762baeb974a3ddee5b
broadcom-wl: fix reading fallback sprom for pci devices.

When using the Broadcom SDK the SSB bus is emulated as an PCI bus so
the PCI bus number of the first real pci bus is increased by one. The
variable names in the nvram are created with that structure in mind. To
fix this we have ti increases the pci bus number by one. This was also
done for ssb some time ago.

This is based on a patch by nlh.
This closes #10917

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30422 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/broadcom-wl/patches/912-pci-bus-nvram-hack.patch [new file with mode: 0644]