Files
linux/drivers
Larry Finger 7fcb55881e b43: avoid PPC fault during resume
commit c2ff581aca upstream.

The routine b43_is_hw_radio_enabled() has long been a problem.
For PPC architecture with PHY Revision < 3, a read of the register
B43_MMIO_HWENABLED_LO will cause a CPU fault unless b43_status()
returns a value of 2 (B43_STAT_STARTED) (BUG 14181). Fixing that
results in Bug 14538 in which the driver is unable to reassociate
after resuming from hibernation because b43_status() returns 0.

The correct fix would be to determine why the status is 0; however,
I have not yet found why that happens. The correct value is found for
my device, which has PHY revision >= 3.

Returning TRUE when the PHY revision < 3 and b43_status() returns 0 fixes
the regression for 2.6.32.

This patch fixes the problem in Red Hat Bugzilla #538523.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Tested-by: Christian Casteyde <casteyde.christian@free.fr>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-01-06 15:04:45 -08:00
..
2009-12-01 16:32:20 -08:00
2009-08-15 12:58:45 +09:00
2009-11-04 14:04:06 +01:00
2009-12-01 16:32:19 -08:00
2009-12-18 14:05:04 -08:00
2009-09-24 07:21:05 -07:00
2009-12-01 11:24:19 +01:00
2009-11-26 09:22:33 +01:00
2010-01-06 15:04:45 -08:00
2009-10-15 09:58:27 -06:00
2009-11-12 07:26:01 -08:00
2009-12-18 14:03:24 -08:00
2009-11-30 16:39:42 -08:00
2009-07-12 12:22:34 -07:00
2009-10-04 22:53:41 +02:00
2009-09-23 10:07:49 -07:00