Commit 05ad62a5 authored by Nick Bowler's avatar Nick Bowler Committed by Linus Torvalds

Staging: et131x: Properly disable FC in txmac.

FC disable is bit 3 of the txmac ctl register, but commit 6720949d
("Staging: et131x: Kil the txmac type") accidentally changed the code to
set bit 2 instead.
Signed-off-by: default avatarNick Bowler <nbowler@draconx.ca>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b72c4094
...@@ -226,7 +226,7 @@ void ConfigMACRegs2(struct et131x_adapter *etdev) ...@@ -226,7 +226,7 @@ void ConfigMACRegs2(struct et131x_adapter *etdev)
} }
/* Enable TXMAC */ /* Enable TXMAC */
ctl |= 0x05; /* TX mac enable, FC disable */ ctl |= 0x09; /* TX mac enable, FC disable */
writel(ctl, &etdev->regs->txmac.ctl); writel(ctl, &etdev->regs->txmac.ctl);
/* Ready to start the RXDMA/TXDMA engine */ /* Ready to start the RXDMA/TXDMA engine */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment