summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ralvar.h
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2005-10-02 13:50:30 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2005-10-02 13:50:30 +0000
commit5664c3e79ee33a697cde57a4aefe607e2d8e58a9 (patch)
treed3cdf1de2b385df594f08583997911ed1abaa6dc /sys/dev/ic/ralvar.h
parent49e545872b2146679f71b37442b4c94d38678400 (diff)
avoid multiple calls to sc_enable(). cardbus_intr_establish() was called
multiple times without calling cardbus_intr_disestablish() in between.
Diffstat (limited to 'sys/dev/ic/ralvar.h')
-rw-r--r--sys/dev/ic/ralvar.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/ic/ralvar.h b/sys/dev/ic/ralvar.h
index 4e61d738783..76ae8aa022e 100644
--- a/sys/dev/ic/ralvar.h
+++ b/sys/dev/ic/ralvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ralvar.h,v 1.7 2005/03/11 19:39:35 damien Exp $ */
+/* $OpenBSD: ralvar.h,v 1.8 2005/10/02 13:50:29 damien Exp $ */
/*-
* Copyright (c) 2005
@@ -111,6 +111,9 @@ struct ral_softc {
struct timeout scan_ch;
struct timeout rssadapt_ch;
+ int sc_flags;
+#define RAL_ENABLED (1 << 0)
+
int sc_tx_timer;
uint32_t asic_rev;