diff options
author | David S. Miller <davem@davemloft.net> | 2008-06-10 04:54:31 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-10 04:54:31 -0400 |
commit | 788c0a53164c05c5ccdb1472474372b72ba74644 (patch) | |
tree | 5f274102e3dc4bcca6cb3a695aa2c8228ad5fc4f /drivers/net/wireless/libertas/defs.h | |
parent | e64bda89b8fe81cce9b4a20885d2c204c2d52532 (diff) | |
parent | 78cf07472f0ede8394bacc4bc02354505080cfe1 (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/linville/wireless-next-2.6
Conflicts:
drivers/net/ps3_gelic_wireless.c
drivers/net/wireless/libertas/main.c
Diffstat (limited to 'drivers/net/wireless/libertas/defs.h')
-rw-r--r-- | drivers/net/wireless/libertas/defs.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/defs.h b/drivers/net/wireless/libertas/defs.h index d39520111062..12e687550bce 100644 --- a/drivers/net/wireless/libertas/defs.h +++ b/drivers/net/wireless/libertas/defs.h | |||
@@ -40,6 +40,7 @@ | |||
40 | #define LBS_DEB_THREAD 0x00100000 | 40 | #define LBS_DEB_THREAD 0x00100000 |
41 | #define LBS_DEB_HEX 0x00200000 | 41 | #define LBS_DEB_HEX 0x00200000 |
42 | #define LBS_DEB_SDIO 0x00400000 | 42 | #define LBS_DEB_SDIO 0x00400000 |
43 | #define LBS_DEB_SYSFS 0x00800000 | ||
43 | 44 | ||
44 | extern unsigned int lbs_debug; | 45 | extern unsigned int lbs_debug; |
45 | 46 | ||
@@ -81,7 +82,8 @@ do { if ((lbs_debug & (grp)) == (grp)) \ | |||
81 | #define lbs_deb_usbd(dev, fmt, args...) LBS_DEB_LL(LBS_DEB_USB, " usbd", "%s:" fmt, (dev)->bus_id, ##args) | 82 | #define lbs_deb_usbd(dev, fmt, args...) LBS_DEB_LL(LBS_DEB_USB, " usbd", "%s:" fmt, (dev)->bus_id, ##args) |
82 | #define lbs_deb_cs(fmt, args...) LBS_DEB_LL(LBS_DEB_CS, " cs", fmt, ##args) | 83 | #define lbs_deb_cs(fmt, args...) LBS_DEB_LL(LBS_DEB_CS, " cs", fmt, ##args) |
83 | #define lbs_deb_thread(fmt, args...) LBS_DEB_LL(LBS_DEB_THREAD, " thread", fmt, ##args) | 84 | #define lbs_deb_thread(fmt, args...) LBS_DEB_LL(LBS_DEB_THREAD, " thread", fmt, ##args) |
84 | #define lbs_deb_sdio(fmt, args...) LBS_DEB_LL(LBS_DEB_SDIO, " thread", fmt, ##args) | 85 | #define lbs_deb_sdio(fmt, args...) LBS_DEB_LL(LBS_DEB_SDIO, " sdio", fmt, ##args) |
86 | #define lbs_deb_sysfs(fmt, args...) LBS_DEB_LL(LBS_DEB_SYSFS, " sysfs", fmt, ##args) | ||
85 | 87 | ||
86 | #define lbs_pr_info(format, args...) \ | 88 | #define lbs_pr_info(format, args...) \ |
87 | printk(KERN_INFO DRV_NAME": " format, ## args) | 89 | printk(KERN_INFO DRV_NAME": " format, ## args) |
@@ -170,6 +172,16 @@ static inline void lbs_deb_hex(unsigned int grp, const char *prompt, u8 *buf, in | |||
170 | 172 | ||
171 | #define MARVELL_MESH_IE_LENGTH 9 | 173 | #define MARVELL_MESH_IE_LENGTH 9 |
172 | 174 | ||
175 | /* Values used to populate the struct mrvl_mesh_ie. The only time you need this | ||
176 | * is when enabling the mesh using CMD_MESH_CONFIG. | ||
177 | */ | ||
178 | #define MARVELL_MESH_IE_TYPE 4 | ||
179 | #define MARVELL_MESH_IE_SUBTYPE 0 | ||
180 | #define MARVELL_MESH_IE_VERSION 0 | ||
181 | #define MARVELL_MESH_PROTO_ID_HWMP 0 | ||
182 | #define MARVELL_MESH_METRIC_ID 0 | ||
183 | #define MARVELL_MESH_CAPABILITY 0 | ||
184 | |||
173 | /** INT status Bit Definition*/ | 185 | /** INT status Bit Definition*/ |
174 | #define MRVDRV_TX_DNLD_RDY 0x0001 | 186 | #define MRVDRV_TX_DNLD_RDY 0x0001 |
175 | #define MRVDRV_RX_UPLD_RDY 0x0002 | 187 | #define MRVDRV_RX_UPLD_RDY 0x0002 |