aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorJiri Benc <jbenc@suse.cz>2005-08-25 20:02:10 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-08-25 20:02:10 -0400
commit19f7f74297e7f88f60c183acb105a5488dd189b6 (patch)
treebda720299a5212d3da8d23017fbf54c92c0bd527 /drivers/net/wireless
parente88187eedc0a9223914b23b063342db8bcc31f9c (diff)
ipw2100: remove strange symbol prefixes
From: Pavel Machek <pavel@ucw.cz> ipw2100 uses strange X__ prefixes even for symbols already prefixed by ipw2100. Fixed. Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Jiri Benc <jbenc@suse.cz>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/ipw2100.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/drivers/net/wireless/ipw2100.c b/drivers/net/wireless/ipw2100.c
index 189ad7b2cec9..41f25e51300e 100644
--- a/drivers/net/wireless/ipw2100.c
+++ b/drivers/net/wireless/ipw2100.c
@@ -106,7 +106,7 @@ that protects the following:
106 106
107 tx_pend_list : Holds used Tx buffers waiting to go into the TBD ring 107 tx_pend_list : Holds used Tx buffers waiting to go into the TBD ring
108 TAIL modified ipw2100_tx() 108 TAIL modified ipw2100_tx()
109 HEAD modified by X__ipw2100_tx_send_data() 109 HEAD modified by ipw2100_tx_send_data()
110 110
111 msg_free_list : Holds pre-allocated Msg (Command) buffers 111 msg_free_list : Holds pre-allocated Msg (Command) buffers
112 TAIL modified in __ipw2100_tx_process() 112 TAIL modified in __ipw2100_tx_process()
@@ -114,7 +114,7 @@ that protects the following:
114 114
115 msg_pend_list : Holds used Msg buffers waiting to go into the TBD ring 115 msg_pend_list : Holds used Msg buffers waiting to go into the TBD ring
116 TAIL modified in ipw2100_hw_send_command() 116 TAIL modified in ipw2100_hw_send_command()
117 HEAD modified in X__ipw2100_tx_send_commands() 117 HEAD modified in ipw2100_tx_send_commands()
118 118
119 The flow of data on the TX side is as follows: 119 The flow of data on the TX side is as follows:
120 120
@@ -287,8 +287,8 @@ static const char *command_types[] = {
287 287
288 288
289/* Pre-decl until we get the code solid and then we can clean it up */ 289/* Pre-decl until we get the code solid and then we can clean it up */
290static void X__ipw2100_tx_send_commands(struct ipw2100_priv *priv); 290static void ipw2100_tx_send_commands(struct ipw2100_priv *priv);
291static void X__ipw2100_tx_send_data(struct ipw2100_priv *priv); 291static void ipw2100_tx_send_data(struct ipw2100_priv *priv);
292static int ipw2100_adapter_setup(struct ipw2100_priv *priv); 292static int ipw2100_adapter_setup(struct ipw2100_priv *priv);
293 293
294static void ipw2100_queues_initialize(struct ipw2100_priv *priv); 294static void ipw2100_queues_initialize(struct ipw2100_priv *priv);
@@ -736,8 +736,8 @@ static int ipw2100_hw_send_command(struct ipw2100_priv *priv,
736 list_add_tail(element, &priv->msg_pend_list); 736 list_add_tail(element, &priv->msg_pend_list);
737 INC_STAT(&priv->msg_pend_stat); 737 INC_STAT(&priv->msg_pend_stat);
738 738
739 X__ipw2100_tx_send_commands(priv); 739 ipw2100_tx_send_commands(priv);
740 X__ipw2100_tx_send_data(priv); 740 ipw2100_tx_send_data(priv);
741 741
742 spin_unlock_irqrestore(&priv->low_lock, flags); 742 spin_unlock_irqrestore(&priv->low_lock, flags);
743 743
@@ -2837,14 +2837,14 @@ static inline void __ipw2100_tx_complete(struct ipw2100_priv *priv)
2837 while (__ipw2100_tx_process(priv) && i < 200) i++; 2837 while (__ipw2100_tx_process(priv) && i < 200) i++;
2838 2838
2839 if (i == 200) { 2839 if (i == 200) {
2840 IPW_DEBUG_WARNING( 2840 printk(KERN_WARNING DRV_NAME ": "
2841 "%s: Driver is running slow (%d iters).\n", 2841 "%s: Driver is running slow (%d iters).\n",
2842 priv->net_dev->name, i); 2842 priv->net_dev->name, i);
2843 } 2843 }
2844} 2844}
2845 2845
2846 2846
2847static void X__ipw2100_tx_send_commands(struct ipw2100_priv *priv) 2847static void ipw2100_tx_send_commands(struct ipw2100_priv *priv)
2848{ 2848{
2849 struct list_head *element; 2849 struct list_head *element;
2850 struct ipw2100_tx_packet *packet; 2850 struct ipw2100_tx_packet *packet;
@@ -2912,10 +2912,10 @@ static void X__ipw2100_tx_send_commands(struct ipw2100_priv *priv)
2912 2912
2913 2913
2914/* 2914/*
2915 * X__ipw2100_tx_send_data 2915 * ipw2100_tx_send_data
2916 * 2916 *
2917 */ 2917 */
2918static void X__ipw2100_tx_send_data(struct ipw2100_priv *priv) 2918static void ipw2100_tx_send_data(struct ipw2100_priv *priv)
2919{ 2919{
2920 struct list_head *element; 2920 struct list_head *element;
2921 struct ipw2100_tx_packet *packet; 2921 struct ipw2100_tx_packet *packet;
@@ -3130,8 +3130,8 @@ static void ipw2100_irq_tasklet(struct ipw2100_priv *priv)
3130 IPW2100_INTA_TX_TRANSFER); 3130 IPW2100_INTA_TX_TRANSFER);
3131 3131
3132 __ipw2100_tx_complete(priv); 3132 __ipw2100_tx_complete(priv);
3133 X__ipw2100_tx_send_commands(priv); 3133 ipw2100_tx_send_commands(priv);
3134 X__ipw2100_tx_send_data(priv); 3134 ipw2100_tx_send_data(priv);
3135 } 3135 }
3136 3136
3137 if (inta & IPW2100_INTA_TX_COMPLETE) { 3137 if (inta & IPW2100_INTA_TX_COMPLETE) {
@@ -3282,7 +3282,7 @@ static int ipw2100_tx(struct ieee80211_txb *txb, struct net_device *dev)
3282 list_add_tail(element, &priv->tx_pend_list); 3282 list_add_tail(element, &priv->tx_pend_list);
3283 INC_STAT(&priv->tx_pend_stat); 3283 INC_STAT(&priv->tx_pend_stat);
3284 3284
3285 X__ipw2100_tx_send_data(priv); 3285 ipw2100_tx_send_data(priv);
3286 3286
3287 spin_unlock_irqrestore(&priv->low_lock, flags); 3287 spin_unlock_irqrestore(&priv->low_lock, flags);
3288 return 0; 3288 return 0;