Skip to content

Commit

Permalink
[PATCH] libertas: remove fw.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Holger Schurig authored and David S. Miller committed Oct 10, 2007
1 parent 8c51276 commit 1df4e8f
Show file tree
Hide file tree
Showing 5 changed files with 354 additions and 355 deletions.
2 changes: 1 addition & 1 deletion drivers/net/wireless/libertas/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
libertas-objs := main.o fw.o wext.o \
libertas-objs := main.o wext.o \
rx.o tx.o cmd.o \
cmdresp.o scan.o \
join.o 11d.o \
Expand Down
5 changes: 1 addition & 4 deletions drivers/net/wireless/libertas/decl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
346 changes: 0 additions & 346 deletions drivers/net/wireless/libertas/fw.c

This file was deleted.

Loading

0 comments on commit 1df4e8f

Please sign in to comment.