linux_old1/drivers/net/wireless/b43legacy
Stefano Brivio e78c9d2857 b43legacy: fix MAC control and microcode init
This zeros out all microcode related memory before loading
the microcode.

This also fixes initialization of the MAC control register.
The _only_ place where we overwrite the contents of the MAC control
register is at the beginning of b43_chip_init().
All other places must do read() -> mask/set -> write() to not
overwrite existing bits.

This also adds a longer delay for waiting for the microcode
to initialize itself. It seems that the current timeout is sufficient
on all available devices, but there's no real reason why we shouldn't
wait for up to one second. Slow embedded devices might exist.
Better safe than sorry.

While at it, fix naming of MACCTL values.

This patch by Michael Buesch has been ported to b43legacy.

Signed-off-by: Stefano Brivio <stefano.brivio@polimi.it>
Acked-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-01-31 19:26:37 -08:00
..
Kconfig b43legacy: fix kconfig dependecies for rfkill and leds 2008-01-28 15:04:37 -08:00
Makefile b43legacy: RF-kill support 2008-01-28 15:03:27 -08:00
b43legacy.h b43legacy: fix MAC control and microcode init 2008-01-31 19:26:37 -08:00
debugfs.c b43legacy: properly fix a bogus gcc warning 2008-01-28 15:05:02 -08:00
debugfs.h [B43LEGACY]: add mac80211-based driver for legacy BCM43xx devices 2007-10-10 16:51:38 -07:00
dma.c b43/b43legacy: fix left-over URLs and ifdefs 2007-11-29 21:34:51 -05:00
dma.h [B43LEGACY]: add mac80211-based driver for legacy BCM43xx devices 2007-10-10 16:51:38 -07:00
ilt.c b43/b43legacy: fix my copyright notices 2008-01-28 15:04:31 -08:00
ilt.h [B43LEGACY]: add mac80211-based driver for legacy BCM43xx devices 2007-10-10 16:51:38 -07:00
leds.c b43legacy: Fix rfkill radio LED 2008-01-28 15:07:25 -08:00
leds.h b43legacy: LED triggers support 2008-01-28 15:03:26 -08:00
main.c b43legacy: fix MAC control and microcode init 2008-01-31 19:26:37 -08:00
main.h b43/b43legacy: fix my copyright notices 2008-01-28 15:04:31 -08:00
phy.c b43legacy: fix MAC control and microcode init 2008-01-31 19:26:37 -08:00
phy.h b43legacy: Remove the PHY spinlock 2008-01-28 15:10:42 -08:00
pio.c b43legacy: fix MAC control and microcode init 2008-01-31 19:26:37 -08:00
pio.h [B43LEGACY]: add mac80211-based driver for legacy BCM43xx devices 2007-10-10 16:51:38 -07:00
radio.c b43legacy: fix MAC control and microcode init 2008-01-31 19:26:37 -08:00
radio.h b43/b43legacy: fix my copyright notices 2008-01-28 15:04:31 -08:00
rfkill.c b43legacy: fix use-after-free rfkill bug 2008-01-28 15:10:10 -08:00
rfkill.h b43legacy: rewrite and fix rfkill initialization 2008-01-28 15:04:30 -08:00
sysfs.c [B43LEGACY]: add mac80211-based driver for legacy BCM43xx devices 2007-10-10 16:51:38 -07:00
sysfs.h [B43LEGACY]: add mac80211-based driver for legacy BCM43xx devices 2007-10-10 16:51:38 -07:00
xmit.c mac80211: dont use interface indices in drivers 2008-01-28 15:09:36 -08:00
xmit.h [B43LEGACY]: add mac80211-based driver for legacy BCM43xx devices 2007-10-10 16:51:38 -07:00