sky2: fix management of driver LED
authorStephen Hemminger <shemminger@linux-foundation.org>
Mon, 31 Aug 2009 07:31:41 +0000 (07:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Sep 2009 00:40:35 +0000 (17:40 -0700)
commit10547ae2c01acdace636e23c991b21fef05428b4
tree1ed8172d59c93c533791bb338ba45d4541bde9e1
parent89f56d1e91cfa535ccc6cc60e9e12e02682fd972
sky2: fix management of driver LED

Observed by Mike McCormack.

The LED bit here is just a software controlled value used to
turn on one of the LED's on some boards. The register value was wrong,
which could have been causing some power control issues.
Get rid of problematic define use the correct mask.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sky2.c
drivers/net/sky2.h