summaryrefslogtreecommitdiff
path: root/sys/dev/ic/bwivar.h
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2007-09-13 08:28:38 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2007-09-13 08:28:38 +0000
commit4136770efc99997cf49376074bcf603c8d76dbd5 (patch)
tree86ef8dfd69804acc60906becdf26f3429dddc488 /sys/dev/ic/bwivar.h
parente305f169078afaa7f8e15739afc497ed0aa1e4f8 (diff)
Enable access to PCI and Cardbus config space from the driver. Lets us
power on the device.
Diffstat (limited to 'sys/dev/ic/bwivar.h')
-rw-r--r--sys/dev/ic/bwivar.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/ic/bwivar.h b/sys/dev/ic/bwivar.h
index a4b2a000516..32e127ae7af 100644
--- a/sys/dev/ic/bwivar.h
+++ b/sys/dev/ic/bwivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bwivar.h,v 1.2 2007/09/12 22:22:05 mglocker Exp $ */
+/* $OpenBSD: bwivar.h,v 1.3 2007/09/13 08:28:37 mglocker Exp $ */
/*
* Copyright (c) 2007 The DragonFly Project. All rights reserved.
@@ -512,6 +512,9 @@ struct bwi_softc {
int (*sc_enable)(struct bwi_softc *);
void (*sc_disable)(struct bwi_softc *);
+ void (*sc_conf_write)(void *, uint32_t, uint32_t);
+ uint32_t (*sc_conf_read)(void *, uint32_t);
+
/* Sysctl variables */
int sc_fw_version; /* BWI_FW_VERSION[34] */
int sc_dwell_time; /* milliseconds */