aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/defs.h
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2007-05-25 12:17:06 -0400
committerJohn W. Linville <linville@tuxdriver.com>2007-06-11 14:28:39 -0400
commit208fdd2f447899164bd139452c291b155e53cee9 (patch)
treec65f6dd5ad6846ea7179ece65594033a8dca9731 /drivers/net/wireless/libertas/defs.h
parent0583e8ef149700ede2aa181509e217c39e565f28 (diff)
[PATCH] libertas: indirect all hardware access via hw_XXXX functions
This functions makes all libertas_sbi_XXX functions static to the if_usb.c file and renames them to if_usb_XXXX(). The get called from other places of the source code via priv->hw_XXXX(). Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/defs.h')
-rw-r--r--drivers/net/wireless/libertas/defs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/defs.h b/drivers/net/wireless/libertas/defs.h
index 7e8e7ac21786..c081813410fd 100644
--- a/drivers/net/wireless/libertas/defs.h
+++ b/drivers/net/wireless/libertas/defs.h
@@ -155,6 +155,13 @@ static inline void lbs_dbg_hex(char *prompt, u8 * buf, int len)
155#define MRVDRV_MAX_BEACON_INTERVAL 1000 155#define MRVDRV_MAX_BEACON_INTERVAL 1000
156#define MRVDRV_BEACON_INTERVAL 100 156#define MRVDRV_BEACON_INTERVAL 100
157 157
158/** INT status Bit Definition*/
159#define his_cmddnldrdy 0x01
160#define his_cardevent 0x02
161#define his_cmdupldrdy 0x04
162
163#define SBI_EVENT_CAUSE_SHIFT 3
164
158/** TxPD status */ 165/** TxPD status */
159 166
160/* Station firmware use TxPD status field to report final Tx transmit 167/* Station firmware use TxPD status field to report final Tx transmit