All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH,REGRESSION] Staging: et131x: Properly disable FC in txmac.
@ 2010-03-10  5:10 Nick Bowler
  0 siblings, 0 replies; only message in thread
From: Nick Bowler @ 2010-03-10  5:10 UTC (permalink / raw)
  To: linux-kernel; +Cc: Alan Cox, Greg Kroah-Hartman

From: Nick Bowler <nbowler@draconx.ca>

FC disable is bit 3 of the txmac ctl register, but commit
6720949d55623cb8c4cb6b06f218d8be68780a6f accidentally changed
the code to set bit 2 instead.

Signed-off-by: Nick Bowler <nbowler@draconx.ca>
---
 drivers/staging/et131x/et1310_mac.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/et131x/et1310_mac.c b/drivers/staging/et131x/et1310_mac.c
index a292b1e..737a9f5 100644
--- a/drivers/staging/et131x/et1310_mac.c
+++ b/drivers/staging/et131x/et1310_mac.c
@@ -226,7 +226,7 @@ void ConfigMACRegs2(struct et131x_adapter *etdev)
 	}
 
 	/* Enable TXMAC */
-	ctl |= 0x05;	/* TX mac enable, FC disable */
+	ctl |= 0x09;	/* TX mac enable, FC disable */
 	writel(ctl, &etdev->regs->txmac.ctl);
 
 	/* Ready to start the RXDMA/TXDMA engine */
-- 
1.6.4.4

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

only message in thread, other threads:[~2010-03-10  5:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-10  5:10 [PATCH,REGRESSION] Staging: et131x: Properly disable FC in txmac Nick Bowler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.