summaryrefslogtreecommitdiff
path: root/sys/dev/ic/bwfmvar.h
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2017-12-16 23:39:59 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2017-12-16 23:39:59 +0000
commit5b0108fd04996c40cccd9c11587cf34b89a5e1de (patch)
tree213eb3ea585ba43b25163c299d06b7a01443d017 /sys/dev/ic/bwfmvar.h
parent8866d0b61a64763602d6483b5bef7f57ee4bf4fb (diff)
Implement setting the chip into active mode, as needed for setting up
the PCIe-based BCM43602's firmware in the PCI attachment driver.
Diffstat (limited to 'sys/dev/ic/bwfmvar.h')
-rw-r--r--sys/dev/ic/bwfmvar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/bwfmvar.h b/sys/dev/ic/bwfmvar.h
index c7058a3be68..b2fd4126406 100644
--- a/sys/dev/ic/bwfmvar.h
+++ b/sys/dev/ic/bwfmvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bwfmvar.h,v 1.4 2017/12/16 23:29:48 patrick Exp $ */
+/* $OpenBSD: bwfmvar.h,v 1.5 2017/12/16 23:39:58 patrick Exp $ */
/*
* Copyright (c) 2010-2016 Broadcom Corporation
* Copyright (c) 2016,2017 Patrick Wildt <patrick@blueri.se>
@@ -156,6 +156,8 @@ struct bwfm_softc {
void bwfm_attach(struct bwfm_softc *);
int bwfm_detach(struct bwfm_softc *, int);
int bwfm_chip_attach(struct bwfm_softc *);
+int bwfm_chip_set_active(struct bwfm_softc *, uint32_t);
+void bwfm_chip_set_passive(struct bwfm_softc *);
struct bwfm_core *bwfm_chip_get_core(struct bwfm_softc *, int);
struct bwfm_core *bwfm_chip_get_pmu(struct bwfm_softc *);
void bwfm_rx(struct bwfm_softc *, char *, size_t);