summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2018-05-27 16:20:34 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2018-05-27 16:20:34 +0000
commita6c0ab9f189fbfd7bd1a208cd3acf36fe967b1bf (patch)
treeaf4dec778f21e833f8a398e8600e9382d49df267 /sys
parent36e031a2ea58889f89c8db3f605942ed10691abb (diff)
BCM43430 SDIO works if we load the appropriate firmware.
ok patrick@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/sdmmc/if_bwfm_sdio.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/dev/sdmmc/if_bwfm_sdio.c b/sys/dev/sdmmc/if_bwfm_sdio.c
index 33715f604f5..5f384f6441d 100644
--- a/sys/dev/sdmmc/if_bwfm_sdio.c
+++ b/sys/dev/sdmmc/if_bwfm_sdio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bwfm_sdio.c,v 1.17 2018/05/26 12:50:18 kettenis Exp $ */
+/* $OpenBSD: if_bwfm_sdio.c,v 1.18 2018/05/27 16:20:33 kettenis Exp $ */
/*
* Copyright (c) 2010-2016 Broadcom Corporation
* Copyright (c) 2016,2017 Patrick Wildt <patrick@blueri.se>
@@ -353,6 +353,15 @@ bwfm_sdio_preinit(struct bwfm_softc *bwfm)
name = "brcmfmac43340-sdio.bin";
nvname = "brcmfmac43340-sdio.nvram";
break;
+ case BRCM_CC_43430_CHIP_ID:
+ if (bwfm->sc_chip.ch_chiprev == 0) {
+ name = "brcmfmac43430a0-sdio.bin";
+ nvname = "brcmfmac43430a0-sdio.nvram";
+ } else {
+ name = "brcmfmac43430-sdio.bin";
+ nvname = "brcmfmac43430-sdio.nvram";
+ }
+ break;
case BRCM_CC_4356_CHIP_ID:
name = "brcmfmac4356-sdio.bin";
nvname = "brcmfmac4356-sdio.nvram";