diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2012-01-24 14:53:49 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-01-25 18:10:26 +0100 |
commit | ad0bd00a55990c7b842029eba8513477d750c9b5 (patch) | |
tree | e269e3e2d0f08f365ebad409ed708007ce4ef7c0 /drivers/net | |
parent | 6b145cd3b35820d5336d27dec1cad1fb146d7d24 (diff) | |
download | barebox-ad0bd00a55990c7b842029eba8513477d750c9b5.tar.gz barebox-ad0bd00a55990c7b842029eba8513477d750c9b5.tar.xz |
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/fec_imx.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/fec_imx.c b/drivers/net/fec_imx.c index 15c7a4a480..45af78f567 100644 --- a/drivers/net/fec_imx.c +++ b/drivers/net/fec_imx.c @@ -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); |