summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/brcm80211/brcmfmac/firmware.h
diff options
context:
space:
mode:
authorHante Meuleman <meuleman@broadcom.com>2015-04-14 21:10:33 +0300
committerKalle Valo <kvalo@codeaurora.org>2015-05-09 16:26:58 +0300
commitc43655345234acb974144c1527cab7af77369f3a (patch)
treeb3b65c50da6ecde1941b558360bd5f98fdf07d21 /drivers/net/wireless/brcm80211/brcmfmac/firmware.h
parent27aace2dcc9ac09776b36bbe281a85dde2c4a074 (diff)
downloadlinux-c43655345234acb974144c1527cab7af77369f3a.tar.xz
brcmfmac: Add support for multiple PCIE devices in nvram.
With PCIE it is possible to support multiple devices with the same device type. They all load the same nvram file. In order to support this the nvram can specify which part of the nvram is for which pcie device. This patch adds support for these new types of nvram files. Reviewed-by: Arend Van Spriel <arend@broadcom.com> Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com> Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com> Reviewed-by: Daniel (Deognyoun) Kim <dekim@broadcom.com> Signed-off-by: Hante Meuleman <meuleman@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac/firmware.h')
-rw-r--r--drivers/net/wireless/brcm80211/brcmfmac/firmware.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/firmware.h b/drivers/net/wireless/brcm80211/brcmfmac/firmware.h
index 4d3482356b77..604dd48ab4e0 100644
--- a/drivers/net/wireless/brcm80211/brcmfmac/firmware.h
+++ b/drivers/net/wireless/brcm80211/brcmfmac/firmware.h
@@ -32,6 +32,12 @@ void brcmf_fw_nvram_free(void *nvram);
* fails it will not use the callback, but call device_release_driver()
* instead which will call the driver .remove() callback.
*/
+int brcmf_fw_get_firmwares_pcie(struct device *dev, u16 flags,
+ const char *code, const char *nvram,
+ void (*fw_cb)(struct device *dev,
+ const struct firmware *fw,
+ void *nvram_image, u32 nvram_len),
+ u16 domain_nr, u16 bus_nr);
int brcmf_fw_get_firmwares(struct device *dev, u16 flags,
const char *code, const char *nvram,
void (*fw_cb)(struct device *dev,