9
0
Fork 0

net: fec_imx: enable payload length check and pause frames

Q: "the linux driver add these bits, why not we?"
A: Because nobody activated the bits?

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Wolfram Sang 2012-01-24 14:53:49 +01:00 committed by Sascha Hauer
parent 6b145cd3b3
commit ad0bd00a55
1 changed files with 2 additions and 4 deletions

View File

@ -302,10 +302,8 @@ static int fec_init(struct eth_device *dev)
if (fec->xcv_type == RMII) {
if (cpu_is_mx28()) {
rcntl |= FEC_R_CNTRL_RMII_MODE;
/* the linux driver add these bits, why not we? */
/* | FEC_R_CNTRL_FCE | */
/* FEC_R_CNTRL_NO_LGTH_CHECK */
rcntl |= FEC_R_CNTRL_RMII_MODE | FEC_R_CNTRL_FCE |
FEC_R_CNTRL_NO_LGTH_CHECK;
} else {
/* disable the gasket and wait */
writel(0, fec->regs + FEC_MIIGSK_ENR);