aboutsummaryrefslogtreecommitdiff
path: root/at76_usb.h
diff options
context:
space:
mode:
authorGuido Guenther <agx@sigxcpu.org>2007-03-10 15:57:11 +0100
committerGuido Guenther <agx@bogon.sigxcpu.org>2007-03-10 15:57:11 +0100
commit8778f48ffa742cc83a719e3de47ee80781f5f327 (patch)
tree6c88a2660ec7347449418fe6b974acee14613282 /at76_usb.h
parent83f7a673bfa9074be9c07d6d75b7224da592cb5a (diff)
rename KEVENT_* to AT76_DEVENT, also rename the corresponding functions and
variables
Diffstat (limited to 'at76_usb.h')
-rw-r--r--at76_usb.h34
1 files changed, 18 insertions, 16 deletions
diff --git a/at76_usb.h b/at76_usb.h
index 7893d3f..7f5e347 100644
--- a/at76_usb.h
+++ b/at76_usb.h
@@ -388,19 +388,19 @@ enum infra_state {
MONITORING,
};
-#define KEVENT_CTRL_HALT 1
-#define KEVENT_NEW_BSS 2
-#define KEVENT_SET_PROMISC 3
-#define KEVENT_MGMT_TIMEOUT 4
-#define KEVENT_SCAN 5
-#define KEVENT_JOIN 6
-#define KEVENT_STARTIBSS 7
-#define KEVENT_SUBMIT_RX 8
-#define KEVENT_RESTART 9
-#define KEVENT_ASSOC_DONE 10
-#define KEVENT_EXTERNAL_FW 11
-#define KEVENT_INTERNAL_FW 12
-#define KEVENT_RESET_DEVICE 13
+#define AT76_DEVENT_CTRL_HALT 1
+#define AT76_DEVENT_NEW_BSS 2
+#define AT76_DEVENT_SET_PROMISC 3
+#define AT76_DEVENT_MGMT_TIMEOUT 4
+#define AT76_DEVENT_SCAN 5
+#define AT76_DEVENT_JOIN 6
+#define AT76_DEVENT_STARTIBSS 7
+#define AT76_DEVENT_SUBMIT_RX 8
+#define AT76_DEVENT_RESTART 9
+#define AT76_DEVENT_ASSOC_DONE 10
+#define AT76_DEVENT_EXTERNAL_FW 11
+#define AT76_DEVENT_INTERNAL_FW 12
+#define AT76_DEVENT_RESET_DEVICE 13
/* a description of a regulatory domain and the allowed channels */
struct reg_domain {
@@ -478,8 +478,10 @@ struct at76c503 {
int open_count; /* number of times this port has been opened */
struct semaphore sem; /* locks this structure */
- unsigned long kevent_flags;
- struct work_struct kevent;
+ /* our deferred event queue */
+ unsigned long devent_flags;
+ struct work_struct devent_queue;
+
int nr_submit_rx_tries; /* number of tries to submit an rx urb left */
struct tasklet_struct tasklet;
struct urb *rx_urb; /* tmp urb pointer for rx_tasklet */
@@ -713,7 +715,7 @@ static const u8 hw_rates[4] = { 0x82, 0x84, 0x0b, 0x16 };
#define DBG_PROGRESS 0x00000001 /* progress of scan-join-(auth-assoc)-connected */
#define DBG_BSS_TABLE 0x00000002 /* show the bss table after scans */
#define DBG_IOCTL 0x00000004 /* ioctl calls / settings */
-#define DBG_KEVENT 0x00000008 /* kevents */
+#define DBG_DEVENT 0x00000008 /* at76_devents */
#define DBG_TX_DATA 0x00000010 /* tx header */
#define DBG_TX_DATA_CONTENT 0x00000020 /* tx content */
#define DBG_TX_MGMT 0x00000040