summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2021-11-02 14:49:54 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2021-11-02 14:49:54 +0000
commit9087c654ee977f8afe8f91627b205ad8ec7be3b0 (patch)
tree8e3eac7604c18471ca0541ae63a88485436a25f8 /sys
parent7d667b65e4b18808c74aae733a85ce4441e31672 (diff)
Recognize BCM43436, as seen on the Raspberry Pi Zero 2 W.
ok jsg@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/sdmmc/if_bwfm_sdio.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/sdmmc/if_bwfm_sdio.c b/sys/dev/sdmmc/if_bwfm_sdio.c
index 2ea9e267ae0..01506a98b10 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.41 2021/10/23 12:48:17 kettenis Exp $ */
+/* $OpenBSD: if_bwfm_sdio.c,v 1.42 2021/11/02 14:49:53 patrick Exp $ */
/*
* Copyright (c) 2010-2016 Broadcom Corporation
* Copyright (c) 2016,2017 Patrick Wildt <patrick@blueri.se>
@@ -395,6 +395,8 @@ bwfm_sdio_preinit(struct bwfm_softc *bwfm)
case BRCM_CC_43430_CHIP_ID:
if (bwfm->sc_chip.ch_chiprev == 0)
chip = "43430a0";
+ else if (bwfm->sc_chip.ch_chiprev == 2)
+ chip = "43436";
else
chip = "43430";
break;