[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>
This commit is contained in:

committed by
David S. Miller

parent
8c51276575
commit
1df4e8fe91
@@ -75,14 +75,11 @@ void libertas_mac_event_disconnected(wlan_private * priv);
|
||||
|
||||
void libertas_send_iwevcustom_event(wlan_private * priv, s8 * str);
|
||||
|
||||
/* fw.c */
|
||||
int libertas_init_fw(wlan_private * priv, char *fw_name);
|
||||
|
||||
/* main.c */
|
||||
struct chan_freq_power *libertas_get_region_cfp_table(u8 region, u8 band,
|
||||
int *cfp_no);
|
||||
wlan_private *libertas_add_card(void *card, struct device *dmdev);
|
||||
int libertas_activate_card(wlan_private *priv, char *fw_name);
|
||||
int libertas_activate_card(wlan_private *priv);
|
||||
int libertas_remove_card(wlan_private *priv);
|
||||
int libertas_add_mesh(wlan_private *priv, struct device *dev);
|
||||
void libertas_remove_mesh(wlan_private *priv);
|
||||
|
Reference in New Issue
Block a user