aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/decl.h
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2009-10-22 09:30:58 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-10-27 16:49:58 -0400
commite93156e7c4c3e2be355cac27c58664e4385c58fd (patch)
tree2408d6096b2b478cf877a52422464cd045b36a0c /drivers/net/wireless/libertas/decl.h
parent560c63383f060b5ea68834e4720ab7bfb4303ff7 (diff)
libertas: sort and categorize entries in decl.h
This now makes decl.h only contain declarations for functions that don't have their own *.h file. No function change. 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/decl.h')
-rw-r--r--drivers/net/wireless/libertas/decl.h40
1 files changed, 18 insertions, 22 deletions
diff --git a/drivers/net/wireless/libertas/decl.h b/drivers/net/wireless/libertas/decl.h
index d609a57750de..678f7c9f7503 100644
--- a/drivers/net/wireless/libertas/decl.h
+++ b/drivers/net/wireless/libertas/decl.h
@@ -8,46 +8,30 @@
8 8
9#include <linux/netdevice.h> 9#include <linux/netdevice.h>
10 10
11#include "defs.h"
12 11
13
14extern const struct ethtool_ops lbs_ethtool_ops;
15
16/** Function Prototype Declaration */
17struct lbs_private; 12struct lbs_private;
18struct sk_buff; 13struct sk_buff;
19struct net_device; 14struct net_device;
20struct cmd_ctrl_node;
21struct cmd_ds_command;
22 15
23int lbs_suspend(struct lbs_private *priv);
24void lbs_resume(struct lbs_private *priv);
25
26void lbs_send_tx_feedback(struct lbs_private *priv, u32 try_count);
27 16
28void lbs_queue_event(struct lbs_private *priv, u32 event); 17/* ethtool.c */
29void lbs_notify_command_response(struct lbs_private *priv, u8 resp_idx); 18extern const struct ethtool_ops lbs_ethtool_ops;
30int lbs_enter_auto_deep_sleep(struct lbs_private *priv);
31int lbs_exit_auto_deep_sleep(struct lbs_private *priv);
32 19
33u32 lbs_fw_index_to_data_rate(u8 index);
34u8 lbs_data_rate_to_fw_index(u32 rate);
35 20
36/** The proc fs interface */ 21/* tx.c */
22void lbs_send_tx_feedback(struct lbs_private *priv, u32 try_count);
37netdev_tx_t lbs_hard_start_xmit(struct sk_buff *skb, 23netdev_tx_t lbs_hard_start_xmit(struct sk_buff *skb,
38 struct net_device *dev); 24 struct net_device *dev);
39 25
26/* rx.c */
40int lbs_process_rxed_packet(struct lbs_private *priv, struct sk_buff *); 27int lbs_process_rxed_packet(struct lbs_private *priv, struct sk_buff *);
41 28
42struct chan_freq_power *lbs_find_cfp_by_band_and_channel(
43 struct lbs_private *priv,
44 u8 band,
45 u16 channel);
46 29
47/* persistcfg.c */ 30/* persistcfg.c */
48void lbs_persist_config_init(struct net_device *net); 31void lbs_persist_config_init(struct net_device *net);
49void lbs_persist_config_remove(struct net_device *net); 32void lbs_persist_config_remove(struct net_device *net);
50 33
34
51/* main.c */ 35/* main.c */
52struct lbs_private *lbs_add_card(void *card, struct device *dmdev); 36struct lbs_private *lbs_add_card(void *card, struct device *dmdev);
53void lbs_remove_card(struct lbs_private *priv); 37void lbs_remove_card(struct lbs_private *priv);
@@ -55,5 +39,17 @@ int lbs_start_card(struct lbs_private *priv);
55void lbs_stop_card(struct lbs_private *priv); 39void lbs_stop_card(struct lbs_private *priv);
56void lbs_host_to_card_done(struct lbs_private *priv); 40void lbs_host_to_card_done(struct lbs_private *priv);
57 41
42int lbs_suspend(struct lbs_private *priv);
43void lbs_resume(struct lbs_private *priv);
44
45void lbs_queue_event(struct lbs_private *priv, u32 event);
46void lbs_notify_command_response(struct lbs_private *priv, u8 resp_idx);
47
48int lbs_enter_auto_deep_sleep(struct lbs_private *priv);
49int lbs_exit_auto_deep_sleep(struct lbs_private *priv);
50
51u32 lbs_fw_index_to_data_rate(u8 index);
52u8 lbs_data_rate_to_fw_index(u32 rate);
53
58 54
59#endif 55#endif