diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2009-10-22 09:30:58 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-27 16:49:58 -0400 |
commit | e93156e7c4c3e2be355cac27c58664e4385c58fd (patch) | |
tree | 2408d6096b2b478cf877a52422464cd045b36a0c /drivers/net/wireless/libertas/decl.h | |
parent | 560c63383f060b5ea68834e4720ab7bfb4303ff7 (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.h | 40 |
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 | |||
14 | extern const struct ethtool_ops lbs_ethtool_ops; | ||
15 | |||
16 | /** Function Prototype Declaration */ | ||
17 | struct lbs_private; | 12 | struct lbs_private; |
18 | struct sk_buff; | 13 | struct sk_buff; |
19 | struct net_device; | 14 | struct net_device; |
20 | struct cmd_ctrl_node; | ||
21 | struct cmd_ds_command; | ||
22 | 15 | ||
23 | int lbs_suspend(struct lbs_private *priv); | ||
24 | void lbs_resume(struct lbs_private *priv); | ||
25 | |||
26 | void lbs_send_tx_feedback(struct lbs_private *priv, u32 try_count); | ||
27 | 16 | ||
28 | void lbs_queue_event(struct lbs_private *priv, u32 event); | 17 | /* ethtool.c */ |
29 | void lbs_notify_command_response(struct lbs_private *priv, u8 resp_idx); | 18 | extern const struct ethtool_ops lbs_ethtool_ops; |
30 | int lbs_enter_auto_deep_sleep(struct lbs_private *priv); | ||
31 | int lbs_exit_auto_deep_sleep(struct lbs_private *priv); | ||
32 | 19 | ||
33 | u32 lbs_fw_index_to_data_rate(u8 index); | ||
34 | u8 lbs_data_rate_to_fw_index(u32 rate); | ||
35 | 20 | ||
36 | /** The proc fs interface */ | 21 | /* tx.c */ |
22 | void lbs_send_tx_feedback(struct lbs_private *priv, u32 try_count); | ||
37 | netdev_tx_t lbs_hard_start_xmit(struct sk_buff *skb, | 23 | netdev_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 */ | ||
40 | int lbs_process_rxed_packet(struct lbs_private *priv, struct sk_buff *); | 27 | int lbs_process_rxed_packet(struct lbs_private *priv, struct sk_buff *); |
41 | 28 | ||
42 | struct 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 */ |
48 | void lbs_persist_config_init(struct net_device *net); | 31 | void lbs_persist_config_init(struct net_device *net); |
49 | void lbs_persist_config_remove(struct net_device *net); | 32 | void lbs_persist_config_remove(struct net_device *net); |
50 | 33 | ||
34 | |||
51 | /* main.c */ | 35 | /* main.c */ |
52 | struct lbs_private *lbs_add_card(void *card, struct device *dmdev); | 36 | struct lbs_private *lbs_add_card(void *card, struct device *dmdev); |
53 | void lbs_remove_card(struct lbs_private *priv); | 37 | void lbs_remove_card(struct lbs_private *priv); |
@@ -55,5 +39,17 @@ int lbs_start_card(struct lbs_private *priv); | |||
55 | void lbs_stop_card(struct lbs_private *priv); | 39 | void lbs_stop_card(struct lbs_private *priv); |
56 | void lbs_host_to_card_done(struct lbs_private *priv); | 40 | void lbs_host_to_card_done(struct lbs_private *priv); |
57 | 41 | ||
42 | int lbs_suspend(struct lbs_private *priv); | ||
43 | void lbs_resume(struct lbs_private *priv); | ||
44 | |||
45 | void lbs_queue_event(struct lbs_private *priv, u32 event); | ||
46 | void lbs_notify_command_response(struct lbs_private *priv, u8 resp_idx); | ||
47 | |||
48 | int lbs_enter_auto_deep_sleep(struct lbs_private *priv); | ||
49 | int lbs_exit_auto_deep_sleep(struct lbs_private *priv); | ||
50 | |||
51 | u32 lbs_fw_index_to_data_rate(u8 index); | ||
52 | u8 lbs_data_rate_to_fw_index(u32 rate); | ||
53 | |||
58 | 54 | ||
59 | #endif | 55 | #endif |