netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2 next] sky2: Fix B0_Y2LED to match vendor driver
@ 2009-08-30  3:58 Mike McCormack
  0 siblings, 0 replies; only message in thread
From: Mike McCormack @ 2009-08-30  3:58 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: netdev, Rene Mayrhofer, Richard Leitner

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 --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,
-- 
1.5.6.5



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-30  4:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-30  3:58 [PATCH 1/2 next] sky2: Fix B0_Y2LED to match vendor driver Mike McCormack

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).