-/* $OpenBSD: if_bwfm_pci.c,v 1.12 2018/01/10 01:43:01 patrick Exp $ */
+/* $OpenBSD: if_bwfm_pci.c,v 1.13 2018/01/10 02:07:11 patrick Exp $ */
/*
* Copyright (c) 2010-2016 Broadcom Corporation
* Copyright (c) 2017 Patrick Wildt <patrick@blueri.se>
/* TODO: restore NVRAM */
/* Load reset vector from firmware and kickstart core. */
- core = bwfm_chip_get_core(bwfm, BWFM_AGENT_INTERNAL_MEM);
- bwfm->sc_chip.ch_core_reset(bwfm, core, 0, 0, 0);
+ if (bwfm->sc_chip.ch_chip == BRCM_CC_43602_CHIP_ID) {
+ core = bwfm_chip_get_core(bwfm, BWFM_AGENT_INTERNAL_MEM);
+ bwfm->sc_chip.ch_core_reset(bwfm, core, 0, 0, 0);
+ }
bwfm_chip_set_active(bwfm, *(uint32_t *)ucode);
for (i = 0; i < 40; i++) {