diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2007-08-02 11:49:45 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:49:50 -0400 |
commit | c95c7f930ec6fee029c8e7957ab95b3967578070 (patch) | |
tree | 7ab029048d7a62ca0a472fa6e0761d1f3012ba08 /drivers/net/wireless/libertas/defs.h | |
parent | ac558ca2ae878bd7a77831cda684702a2fa23d95 (diff) |
[PATCH] libertas: uppercase some #defines
Usually constants defined by #define are in ALL_UPPERCASE. This patch
fixes this.
I also shuffled the bits around so that they match the bit positions in the
host-interrupt-state register of the CF/SDIO card :-)
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.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/net/wireless/libertas/defs.h b/drivers/net/wireless/libertas/defs.h index a1c6dae1ba46..eee8a49e358f 100644 --- a/drivers/net/wireless/libertas/defs.h +++ b/drivers/net/wireless/libertas/defs.h | |||
@@ -159,9 +159,11 @@ static inline void lbs_dbg_hex(char *prompt, u8 * buf, int len) | |||
159 | #define MARVELL_MESH_IE_LENGTH 9 | 159 | #define MARVELL_MESH_IE_LENGTH 9 |
160 | 160 | ||
161 | /** INT status Bit Definition*/ | 161 | /** INT status Bit Definition*/ |
162 | #define his_cmddnldrdy 0x01 | 162 | #define MRVDRV_TX_DNLD_RDY 0x0001 |
163 | #define his_cardevent 0x02 | 163 | #define MRVDRV_RX_UPLD_RDY 0x0002 |
164 | #define his_cmdupldrdy 0x04 | 164 | #define MRVDRV_CMD_DNLD_RDY 0x0004 |
165 | #define MRVDRV_CMD_UPLD_RDY 0x0008 | ||
166 | #define MRVDRV_CARDEVENT 0x0010 | ||
165 | 167 | ||
166 | #define SBI_EVENT_CAUSE_SHIFT 3 | 168 | #define SBI_EVENT_CAUSE_SHIFT 3 |
167 | 169 | ||