diff mbox

[1/2,next] sky2: Fix B0_Y2LED to match vendor driver

Message ID 4A99F8E3.2020904@ring3k.org
State Not Applicable, archived
Delegated to: David Miller
Headers show

Commit Message

Mike McCormack Aug. 30, 2009, 3:58 a.m. UTC
B0_LED is 0x0006 in the vendor driver, but was 0x0005 in sky2.
B0_LED is right next to B0_POWER_CTRL, so this is possibly
accounts for the device being accidently powered down as
reported by Rene Mayrhofer.

Signed-off-by: Mike McCormack <mikem@ring3k.org>
---
 drivers/net/sky2.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/drivers/net/sky2.h b/drivers/net/sky2.h
index 73c9547..a1f3d5f 100644
--- a/drivers/net/sky2.h
+++ b/drivers/net/sky2.h
@@ -155,7 +155,7 @@  enum pci_cfg_reg1 {
 enum csr_regs {
 	B0_RAP		= 0x0000,
 	B0_CTST		= 0x0004,
-	B0_Y2LED	= 0x0005,
+	B0_Y2LED	= 0x0006,
 	B0_POWER_CTRL	= 0x0007,
 	B0_ISRC		= 0x0008,
 	B0_IMSK		= 0x000c,