summaryrefslogtreecommitdiff
path: root/sys/dev/ic/athnvar.h
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2009-11-19 19:20:00 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2009-11-19 19:20:00 +0000
commita58bcdecc90d673bbc50d9bacaabfa89c47251f2 (patch)
tree090db09df9415f3d2df24b6cd87f5d6ee548b7ac /sys/dev/ic/athnvar.h
parent135d3d00057511a4a75aa24f1bf506f3bc901ae1 (diff)
if a radio switch exists, configure the GPIO pin to which it is
connected to raise an interrupt when the pin goes low (or high depending on the polarity of the radio switch.) turn the interface down when the interrupt occurs. this is the same behaviour as in wpi(4) and iwn(4). cleanup interrupts processing while i'm here. remove ATHN_INTR_MITIGATION compile option (it is set by default.)
Diffstat (limited to 'sys/dev/ic/athnvar.h')
-rw-r--r--sys/dev/ic/athnvar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/athnvar.h b/sys/dev/ic/athnvar.h
index d0d6210e4a3..e441ce36e8d 100644
--- a/sys/dev/ic/athnvar.h
+++ b/sys/dev/ic/athnvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: athnvar.h,v 1.4 2009/11/17 18:21:07 damien Exp $ */
+/* $OpenBSD: athnvar.h,v 1.5 2009/11/19 19:19:59 damien Exp $ */
/*-
* Copyright (c) 2009 Damien Bergamini <damien.bergamini@free.fr>
@@ -17,7 +17,6 @@
*/
#define ATHN_DEBUG 1
-#define ATHN_INTR_MITIGATION 1
#define ATHN_BT_COEXISTENCE 1
#ifdef ATHN_DEBUG
@@ -376,6 +375,8 @@ struct athn_softc {
uint8_t ngpiopins;
int led_pin;
int rfsilent_pin;
+ uint32_t isync;
+ uint32_t imask;
uint16_t mac_ver;
uint8_t mac_rev;
@@ -425,7 +426,6 @@ struct athn_softc {
const uint32_t *serdes;
uint32_t workaround;
-
struct athn_ops ops;
int fixed_ridx;