diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2016-01-26 17:57:03 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-02-06 13:52:47 +0200 |
commit | 9befe9195a17856f8bf5ede7a5c067bd0a281be6 (patch) | |
tree | ec7a3b7dd585834219abfdeb2cbe2329ac617312 /drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c | |
parent | 44977b81823f4801d45d61fb9b278b4483923ae1 (diff) | |
download | lwn-9befe9195a17856f8bf5ede7a5c067bd0a281be6.tar.gz lwn-9befe9195a17856f8bf5ede7a5c067bd0a281be6.zip |
brcmfmac: read extended capabilities of ChipCommon core
This is an extra bitfield with info about some present hardware.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c')
-rw-r--r-- | drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c index 55952d43dfb5..f4a4d00cb4a2 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c @@ -1025,6 +1025,9 @@ static int brcmf_chip_setup(struct brcmf_chip_priv *chip) /* get chipcommon capabilites */ pub->cc_caps = chip->ops->read32(chip->ctx, CORE_CC_REG(base, capabilities)); + pub->cc_caps_ext = chip->ops->read32(chip->ctx, + CORE_CC_REG(base, + capabilities_ext)); /* get pmu caps & rev */ if (pub->cc_caps & CC_CAP_PMU) { |