summaryrefslogtreecommitdiff
path: root/sys/dev/ic/rtwvar.h
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2005-11-04 14:04:34 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2005-11-04 14:04:34 +0000
commitccb66f890b4ae92d509515596a7983c248852ad1 (patch)
tree56933ea9d5d6f9d0b4b745aaa9f340bae5e0137d /sys/dev/ic/rtwvar.h
parent760c5b136744c3cdd52e714afb00ff13cd911e54 (diff)
Move access to RF tranceiver functions to be via callbacks.
"looks fine" reyk@
Diffstat (limited to 'sys/dev/ic/rtwvar.h')
-rw-r--r--sys/dev/ic/rtwvar.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/ic/rtwvar.h b/sys/dev/ic/rtwvar.h
index 3d4d67332d5..bd7fc3df0fa 100644
--- a/sys/dev/ic/rtwvar.h
+++ b/sys/dev/ic/rtwvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtwvar.h,v 1.19 2005/10/24 02:53:32 reyk Exp $ */
+/* $OpenBSD: rtwvar.h,v 1.20 2005/11/04 14:04:33 jsg Exp $ */
/* $NetBSD: rtwvar.h,v 1.10 2004/12/26 22:37:57 mycroft Exp $ */
/*-
@@ -376,6 +376,12 @@ struct rtw_softc {
rtw_pwrstate_t sc_pwrstate_cb;
u_int16_t sc_inten;
+ int (*sc_rf_init)(struct rtw_softc *, u_int,
+ u_int8_t, enum rtw_pwrstate);
+ int (*sc_rf_pwrstate)(struct rtw_softc *,
+ enum rtw_pwrstate);
+ int (*sc_rf_tune)(struct rtw_softc *, u_int);
+ int (*sc_rf_txpower)(struct rtw_softc *, u_int8_t);
/* interrupt acknowledge hook */
void (*sc_intr_ack)(struct rtw_regs *);