Staging: et131x: Properly disable FC in txmac.
PATCH 1/1 Staging: et131x: Properly disable FC in txmac.
From: Nick Bowler <[email protected]>
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 <[email protected]>
--- drivers/staging/et131x/et1310_mac.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/staging/et131x/et1310_mac.c +1 -1
@@ -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 */
Signature · 1 line
1.6.4.4