From 821fc9861053f20b73ccebf6ec8a1342c364af4d Mon Sep 17 00:00:00 2001 From: patrick Date: Mon, 20 Aug 2018 18:58:06 +0000 Subject: [PATCH] Attach bwfm(4) to Broadcom BCM4371. ok kettenis@ --- sys/dev/pci/if_bwfm_pci.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys/dev/pci/if_bwfm_pci.c b/sys/dev/pci/if_bwfm_pci.c index afeabceefe6..ff109c17e5b 100644 --- a/sys/dev/pci/if_bwfm_pci.c +++ b/sys/dev/pci/if_bwfm_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bwfm_pci.c,v 1.26 2018/07/25 20:47:45 patrick Exp $ */ +/* $OpenBSD: if_bwfm_pci.c,v 1.27 2018/08/20 18:58:06 patrick Exp $ */ /* * Copyright (c) 2010-2016 Broadcom Corporation * Copyright (c) 2017 Patrick Wildt @@ -316,6 +316,7 @@ static const struct pci_matchid bwfm_pci_devices[] = { { PCI_VENDOR_BROADCOM, PCI_PRODUCT_BROADCOM_BCM4350 }, { PCI_VENDOR_BROADCOM, PCI_PRODUCT_BROADCOM_BCM4356 }, { PCI_VENDOR_BROADCOM, PCI_PRODUCT_BROADCOM_BCM43602 }, + { PCI_VENDOR_BROADCOM, PCI_PRODUCT_BROADCOM_BCM4371 }, }; int @@ -431,6 +432,10 @@ bwfm_pci_preinit(struct bwfm_softc *bwfm) name = "brcmfmac43602-pcie.bin"; nvname = "brcmfmac43602-pcie.nvram"; break; + case BRCM_CC_4371_CHIP_ID: + name = "brcmfmac4371-pcie.bin"; + nvname = "brcmfmac4371-pcie.nvram"; + break; default: printf("%s: unknown firmware for chip %s\n", DEVNAME(sc), bwfm->sc_chip.ch_name); -- 2.20.1