344-0010-brcmfmac-add-support-for-the-PCIE-4366c0-chip.patch 1.6 KB

12345678910111213141516171819202122232425262728293031323334
  1. From: Hante Meuleman <meuleman@broadcom.com>
  2. Date: Wed, 17 Feb 2016 11:26:59 +0100
  3. Subject: [PATCH] brcmfmac: add support for the PCIE 4366c0 chip
  4. A newer version of the 4366 PCIE chip has been released. Add
  5. support for this version of the chip.
  6. Reviewed-by: Arend Van Spriel <arend@broadcom.com>
  7. Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
  8. Signed-off-by: Hante Meuleman <meuleman@broadcom.com>
  9. Signed-off-by: Arend van Spriel <arend@broadcom.com>
  10. Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
  11. ---
  12. --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
  13. +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
  14. @@ -53,6 +53,7 @@ BRCMF_FW_NVRAM_DEF(4358, "brcmfmac4358-p
  15. BRCMF_FW_NVRAM_DEF(4359, "brcmfmac4359-pcie.bin", "brcmfmac4359-pcie.txt");
  16. BRCMF_FW_NVRAM_DEF(4365B, "brcmfmac4365b-pcie.bin", "brcmfmac4365b-pcie.txt");
  17. BRCMF_FW_NVRAM_DEF(4366B, "brcmfmac4366b-pcie.bin", "brcmfmac4366b-pcie.txt");
  18. +BRCMF_FW_NVRAM_DEF(4366C, "brcmfmac4366c-pcie.bin", "brcmfmac4366c-pcie.txt");
  19. BRCMF_FW_NVRAM_DEF(4371, "brcmfmac4371-pcie.bin", "brcmfmac4371-pcie.txt");
  20. static struct brcmf_firmware_mapping brcmf_pcie_fwnames[] = {
  21. @@ -66,7 +67,8 @@ static struct brcmf_firmware_mapping brc
  22. BRCMF_FW_NVRAM_ENTRY(BRCM_CC_4358_CHIP_ID, 0xFFFFFFFF, 4358),
  23. BRCMF_FW_NVRAM_ENTRY(BRCM_CC_4359_CHIP_ID, 0xFFFFFFFF, 4359),
  24. BRCMF_FW_NVRAM_ENTRY(BRCM_CC_4365_CHIP_ID, 0xFFFFFFFF, 4365B),
  25. - BRCMF_FW_NVRAM_ENTRY(BRCM_CC_4366_CHIP_ID, 0xFFFFFFFF, 4366B),
  26. + BRCMF_FW_NVRAM_ENTRY(BRCM_CC_4366_CHIP_ID, 0x0000000F, 4366B),
  27. + BRCMF_FW_NVRAM_ENTRY(BRCM_CC_4366_CHIP_ID, 0xFFFFFFF0, 4366C),
  28. BRCMF_FW_NVRAM_ENTRY(BRCM_CC_4371_CHIP_ID, 0xFFFFFFFF, 4371),
  29. };