b43: Automatically probe for opensource firmware
commit1a9f509368ceb24fc66be961be15c69966f5eb5d
authorMichael Buesch <mb@bu3sch.de>
Fri, 23 Jan 2009 20:21:51 +0000 (23 21:21 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 21:01:30 +0000 (29 16:01 -0500)
treec038db8330a52ad757ef630cbe8738e1f5afc1ca
parent2f47690ed42a85820783dee7f16ae47edadf8fad
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>
drivers/net/wireless/b43/b43.h
drivers/net/wireless/b43/main.c
drivers/net/wireless/b43/main.h