Add support for the BCM43455 SDIO chip to bwfm(4).
authorpatrick <patrick@openbsd.org>
Mon, 16 Jul 2018 13:46:17 +0000 (13:46 +0000)
committerpatrick <patrick@openbsd.org>
Mon, 16 Jul 2018 13:46:17 +0000 (13:46 +0000)
sys/dev/ic/bwfm.c
sys/dev/sdmmc/if_bwfm_sdio.c

index 3196c6a..27c5307 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: bwfm.c,v 1.51 2018/07/16 11:52:26 patrick Exp $ */
+/* $OpenBSD: bwfm.c,v 1.52 2018/07/16 13:46:17 patrick Exp $ */
 /*
  * Copyright (c) 2010-2016 Broadcom Corporation
  * Copyright (c) 2016,2017 Patrick Wildt <patrick@blueri.se>
@@ -1089,6 +1089,7 @@ bwfm_chip_sr_capable(struct bwfm_softc *sc)
                return 0;
 
        switch (sc->sc_chip.ch_chip) {
+       case BRCM_CC_4345_CHIP_ID:
        case BRCM_CC_4354_CHIP_ID:
        case BRCM_CC_4356_CHIP_ID:
                core = bwfm_chip_get_pmu(sc);
index ff00260..38ac463 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bwfm_sdio.c,v 1.21 2018/07/16 13:41:19 patrick Exp $ */
+/* $OpenBSD: if_bwfm_sdio.c,v 1.22 2018/07/16 13:46:17 patrick Exp $ */
 /*
  * Copyright (c) 2010-2016 Broadcom Corporation
  * Copyright (c) 2016,2017 Patrick Wildt <patrick@blueri.se>
@@ -217,6 +217,7 @@ bwfm_sdio_match(struct device *parent, void *match, void *aux)
        case 0xa94d:
        case 0xa962:
        case 0xa9a6:
+       case 0xa9bf:
                break;
        default:
                return 0;
@@ -352,6 +353,10 @@ bwfm_sdio_preinit(struct bwfm_softc *bwfm)
                name = "brcmfmac4334-sdio.bin";
                nvname = "brcmfmac4334-sdio.nvram";
                break;
+       case BRCM_CC_4345_CHIP_ID:
+               name = "brcmfmac43455-sdio.bin";
+               nvname = "brcmfmac43455-sdio.nvram";
+               break;
        case BRCM_CC_43340_CHIP_ID:
                name = "brcmfmac43340-sdio.bin";
                nvname = "brcmfmac43340-sdio.nvram";