aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/decl.h
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2007-08-02 11:45:12 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:49:48 -0400
commit1df4e8fe91d5bab3fd7ae7f115e43c52010cd4ad (patch)
tree62a9e58760fe8021adf62f745316a265c2d7dca4 /drivers/net/wireless/libertas/decl.h
parent8c5127657549d055ac9d709cdea73902a6ef392c (diff)
[PATCH] libertas: remove fw.c
Firmware download is quite different for different hardware. The SDIO and CF cards have two flat files that need to be downloaded, whereas the USB driver needs only one file, but with an internal structure. The code that handles this (USB only) structured file is currently in fw.c. This patch moves this code into if_usb.c. The remaining functions in fw.c have not much to do with firmware, they are various card- and network-stack initialisation functions. I've moved them into main.c. 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.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/wireless/libertas/decl.h b/drivers/net/wireless/libertas/decl.h
index 129b021d35fd..113cfc1395e3 100644
--- a/drivers/net/wireless/libertas/decl.h
+++ b/drivers/net/wireless/libertas/decl.h
@@ -75,14 +75,11 @@ void libertas_mac_event_disconnected(wlan_private * priv);
75 75
76void libertas_send_iwevcustom_event(wlan_private * priv, s8 * str); 76void libertas_send_iwevcustom_event(wlan_private * priv, s8 * str);
77 77
78/* fw.c */
79int libertas_init_fw(wlan_private * priv, char *fw_name);
80
81/* main.c */ 78/* main.c */
82struct chan_freq_power *libertas_get_region_cfp_table(u8 region, u8 band, 79struct chan_freq_power *libertas_get_region_cfp_table(u8 region, u8 band,
83 int *cfp_no); 80 int *cfp_no);
84wlan_private *libertas_add_card(void *card, struct device *dmdev); 81wlan_private *libertas_add_card(void *card, struct device *dmdev);
85int libertas_activate_card(wlan_private *priv, char *fw_name); 82int libertas_activate_card(wlan_private *priv);
86int libertas_remove_card(wlan_private *priv); 83int libertas_remove_card(wlan_private *priv);
87int libertas_add_mesh(wlan_private *priv, struct device *dev); 84int libertas_add_mesh(wlan_private *priv, struct device *dev);
88void libertas_remove_mesh(wlan_private *priv); 85void libertas_remove_mesh(wlan_private *priv);