summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2018-08-20 18:58:06 +0000
committerpatrick <patrick@openbsd.org>2018-08-20 18:58:06 +0000
commit821fc9861053f20b73ccebf6ec8a1342c364af4d (patch)
tree37e8dbef2491cfd333389a30c200182dce4d67b2
parentregen (diff)
downloadwireguard-openbsd-821fc9861053f20b73ccebf6ec8a1342c364af4d.tar.xz
wireguard-openbsd-821fc9861053f20b73ccebf6ec8a1342c364af4d.zip
Attach bwfm(4) to Broadcom BCM4371.
ok kettenis@
-rw-r--r--sys/dev/pci/if_bwfm_pci.c7
1 files changed, 6 insertions, 1 deletions
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 <patrick@blueri.se>
@@ -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);