summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/b43/main.h
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2009-01-23 20:21:51 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2009-01-29 21:01:30 (GMT)
commit1a9f509368ceb24fc66be961be15c69966f5eb5d (patch)
treec038db8330a52ad757ef630cbe8738e1f5afc1ca /drivers/net/wireless/b43/main.h
parent2f47690ed42a85820783dee7f16ae47edadf8fad (diff)
downloadlinux-fsl-qoriq-1a9f509368ceb24fc66be961be15c69966f5eb5d.tar.xz
b43: Automatically probe for opensource firmware
First probe for proprietary firmware and then probe for opensource firmware. This way around it's a win-win situation. 1) If proprietary fw is available, it will work. 2) If opensource firmware is available, but no proprietary (Distros can only ship open fw) it might work. 3) If both open and proprietary are available, it will work, because it selects the proprietary. We currently don't prefer the open fw in this case, because it doesn't work on all devices. It would introduce a regression otherwise. The remaining FIXMEs in this patch are harmless, because they only matter on multiband devices, which are not implemented yet anyway. Signed-off-by: Michael Buesch <mb@bu3sch.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/main.h')
-rw-r--r--drivers/net/wireless/b43/main.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/main.h b/drivers/net/wireless/b43/main.h
index f871a25..e6d90f3 100644
--- a/drivers/net/wireless/b43/main.h
+++ b/drivers/net/wireless/b43/main.h
@@ -121,4 +121,11 @@ void b43_power_saving_ctl_bits(struct b43_wldev *dev, unsigned int ps_flags);
void b43_mac_suspend(struct b43_wldev *dev);
void b43_mac_enable(struct b43_wldev *dev);
+
+struct b43_request_fw_context;
+int b43_do_request_fw(struct b43_request_fw_context *ctx,
+ const char *name,
+ struct b43_firmware_file *fw);
+void b43_do_release_fw(struct b43_firmware_file *fw);
+
#endif /* B43_MAIN_H_ */