Skip to content

Commit

Permalink
Staging: et131x: Properly disable FC in txmac.
Browse files Browse the repository at this point in the history
FC disable is bit 3 of the txmac ctl register, but commit 6720949
("Staging: et131x: Kil the txmac type") accidentally changed the code to
set bit 2 instead.

Signed-off-by: Nick Bowler <nbowler@draconx.ca>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
draconx authored and torvalds committed Mar 29, 2010
1 parent b72c409 commit 05ad62a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/et131x/et1310_mac.c
Expand Up @@ -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 */
Expand Down

0 comments on commit 05ad62a

Please sign in to comment.