Recognize BCM43436, as seen on the Raspberry Pi Zero 2 W.
authorpatrick <patrick@openbsd.org>
Tue, 2 Nov 2021 14:49:53 +0000 (14:49 +0000)
committerpatrick <patrick@openbsd.org>
Tue, 2 Nov 2021 14:49:53 +0000 (14:49 +0000)
ok jsg@

sys/dev/sdmmc/if_bwfm_sdio.c

index 2ea9e26..01506a9 100644 (file)
@@ -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;