Commit 331c2b9d authored by Tom Rini's avatar Tom Rini

ppc32: Fix a problem with the FCC enet driver for CPM2 systems

The Local Protect Bit needs to be set when entering full
duplex mode.
Signed-off-by: default avatarRune Torgersen <runet@innovsys.com>
Signed-off-by: default avatarTom Rini <trini@kernel.crashing.org>
parent 93245f1d
......@@ -1986,9 +1986,9 @@ fcc_restart(struct net_device *dev, int duplex)
fccp = fcp->fccp;
if (duplex)
fccp->fcc_fpsmr |= FCC_PSMR_FDE;
fccp->fcc_fpsmr |= FCC_PSMR_FDE | FCC_PSMR_LPB;
else
fccp->fcc_fpsmr &= ~FCC_PSMR_FDE;
fccp->fcc_fpsmr &= ~(FCC_PSMR_FDE | FCC_PSMR_LPB);
/* Enable transmit/receive */
fccp->fcc_gfmr |= FCC_GFMR_ENR | FCC_GFMR_ENT;
......
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