[PATCH] bcm43xx: fix unexpected LED control values in BCM4303 sprom
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 18 Oct 2006 04:38:26 +0000 (23:38 -0500)
committerJohn W. Linville <linville@laptop.(none)>
Wed, 1 Nov 2006 03:15:41 +0000 (22:15 -0500)
The bcm43xx driver uses 4 locations in the devices sprom to determine
the behavior of the leds. Certain defaults are assigned if all bits are
set in those locations. On at least one BCM4303 chip, the sprom contains
values other than the default, which executes an assertion placed in the
default case of a following switch statement. This patch makes the leds
on the above mentioned interface behave correctly. In addition, it limits
the number of logged messages to 20 for the case of unexpected values in
the sprom locations.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found