aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ipw2100.h
diff options
context:
space:
mode:
authorJiri Benc <jbenc@suse.cz>2005-08-25 20:04:43 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-08-25 20:04:43 -0400
commitc4aee8c21ff5d8d6f9a27112468f5e840d5ced1b (patch)
tree8bbd4c06bcbcb94083b6424dcd592f7245833e89 /drivers/net/wireless/ipw2100.h
parent797b4f7652a4dcf06bdf6a8c870991acdf56c03d (diff)
ipw2100: minor cleanups
From: Adrian Bunk <bunk@stusta.de> This patch contains the following possible cleanups: - make needlessly global code static - remove the unused IPW_DEBUG_ENABLED Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Jiri Benc <jbenc@suse.cz>
Diffstat (limited to 'drivers/net/wireless/ipw2100.h')
-rw-r--r--drivers/net/wireless/ipw2100.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/drivers/net/wireless/ipw2100.h b/drivers/net/wireless/ipw2100.h
index 95a05b554c1a..2a3cdbd50168 100644
--- a/drivers/net/wireless/ipw2100.h
+++ b/drivers/net/wireless/ipw2100.h
@@ -48,22 +48,6 @@ struct ipw2100_priv;
48struct ipw2100_tx_packet; 48struct ipw2100_tx_packet;
49struct ipw2100_rx_packet; 49struct ipw2100_rx_packet;
50 50
51#ifdef CONFIG_IPW_DEBUG
52enum { IPW_DEBUG_ENABLED = 1 };
53extern u32 ipw2100_debug_level;
54#define IPW_DEBUG(level, message...) \
55do { \
56 if (ipw2100_debug_level & (level)) { \
57 printk(KERN_DEBUG "ipw2100: %c %s ", \
58 in_interrupt() ? 'I' : 'U', __FUNCTION__); \
59 printk(message); \
60 } \
61} while (0)
62#else
63enum { IPW_DEBUG_ENABLED = 0 };
64#define IPW_DEBUG(level, message...) do {} while (0)
65#endif /* CONFIG_IPW_DEBUG */
66
67#define IPW_DL_UNINIT 0x80000000 51#define IPW_DL_UNINIT 0x80000000
68#define IPW_DL_NONE 0x00000000 52#define IPW_DL_NONE 0x00000000
69#define IPW_DL_ALL 0x7FFFFFFF 53#define IPW_DL_ALL 0x7FFFFFFF
@@ -1144,10 +1128,6 @@ typedef enum _ORDINAL_TABLE_2 { // NS - means Not Supported by FW
1144#define WIRELESS_SPY // enable iwspy support 1128#define WIRELESS_SPY // enable iwspy support
1145#endif 1129#endif
1146 1130
1147extern struct iw_handler_def ipw2100_wx_handler_def;
1148extern struct iw_statistics *ipw2100_wx_wireless_stats(struct net_device * dev);
1149extern void ipw2100_wx_event_work(struct ipw2100_priv *priv);
1150
1151#define IPW_HOST_FW_SHARED_AREA0 0x0002f200 1131#define IPW_HOST_FW_SHARED_AREA0 0x0002f200
1152#define IPW_HOST_FW_SHARED_AREA0_END 0x0002f510 // 0x310 bytes 1132#define IPW_HOST_FW_SHARED_AREA0_END 0x0002f510 // 0x310 bytes
1153 1133
@@ -1182,14 +1162,6 @@ struct ipw2100_fw {
1182 const struct firmware *fw_entry; 1162 const struct firmware *fw_entry;
1183}; 1163};
1184 1164
1185int ipw2100_get_firmware(struct ipw2100_priv *priv, struct ipw2100_fw *fw);
1186void ipw2100_release_firmware(struct ipw2100_priv *priv, struct ipw2100_fw *fw);
1187int ipw2100_fw_download(struct ipw2100_priv *priv, struct ipw2100_fw *fw);
1188int ipw2100_ucode_download(struct ipw2100_priv *priv, struct ipw2100_fw *fw);
1189
1190#define MAX_FW_VERSION_LEN 14 1165#define MAX_FW_VERSION_LEN 14
1191 1166
1192int ipw2100_get_fwversion(struct ipw2100_priv *priv, char *buf, size_t max);
1193int ipw2100_get_ucodeversion(struct ipw2100_priv *priv, char *buf, size_t max);
1194
1195#endif /* _IPW2100_H */ 1167#endif /* _IPW2100_H */