From aec445ea3d489674b38af11138815c0a397a1c85 Mon Sep 17 00:00:00 2001 From: patrick Date: Tue, 2 Nov 2021 14:49:53 +0000 Subject: [PATCH] Recognize BCM43436, as seen on the Raspberry Pi Zero 2 W. ok jsg@ --- sys/dev/sdmmc/if_bwfm_sdio.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 @@ -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; -- 2.20.1