artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73c65e2
)
Recognize BCM43436, as seen on the Raspberry Pi Zero 2 W.
author
patrick
<patrick@openbsd.org>
Tue, 2 Nov 2021 14:49:53 +0000
(14:49 +0000)
committer
patrick
<patrick@openbsd.org>
Tue, 2 Nov 2021 14:49:53 +0000
(14:49 +0000)
ok jsg@
sys/dev/sdmmc/if_bwfm_sdio.c
patch
|
blob
|
history
diff --git
a/sys/dev/sdmmc/if_bwfm_sdio.c
b/sys/dev/sdmmc/if_bwfm_sdio.c
index
2ea9e26
..
01506a9
100644
(file)
--- 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.4
1 2021/10/23 12:48:17 kettenis
Exp $ */
+/* $OpenBSD: if_bwfm_sdio.c,v 1.4
2 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;