]> git.baikalelectronics.ru Git - kernel.git/commit
brcmfmac: support NVRAMs containing pci devpaths (instead of pcie)
authorRafał Miłecki <zajec5@gmail.com>
Thu, 28 May 2015 12:19:21 +0000 (14:19 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 8 Jun 2015 11:25:48 +0000 (14:25 +0300)
commite517186fc1ba1e1e2011d8e5bd836719a370443d
tree03551f388ad54186a2603855033323b0d14af674
parent5581de7a4787c0372ea211f5d3ce7359661d6d03
brcmfmac: support NVRAMs containing pci devpaths (instead of pcie)

Recently Broadcom added support for NVRAMs with entries for multiple
PCIe devices. One of the supported formats is based on prefixes defined
like: devpath0=pcie/1/4/ and entries like 0:foo=bar 0:baz=qux etc.

Unfortunately there are also a bit older devices using different way of
defining prefixes, e.g. SmartRG SR400ac (2 x BCM43602) with entries:
devpath0=pci/1/1/
devpath1=pci/2/1
Broadcom stated this old format will never be used/supported by brcmfmac
but given the simplicity of this patch I'll insist on supporting it.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/brcm80211/brcmfmac/firmware.c