summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale/fec_main.c
diff options
context:
space:
mode:
authorTroy Kisky <troy.kisky@boundarydevices.com>2016-02-06 00:52:43 +0300
committerDavid S. Miller <davem@davemloft.net>2016-02-11 14:14:51 +0300
commit55cd48c821def1d3192f166b4ce48254cf2e5a69 (patch)
tree03659963d7b7f7ba0ed10765fca179b70e4aad18 /drivers/net/ethernet/freescale/fec_main.c
parent7f20cd252185702f951009e0a56778f870d50ca6 (diff)
downloadlinux-55cd48c821def1d3192f166b4ce48254cf2e5a69.tar.xz
net: fec: stop the "rcv is not +last, " error messages
Setting the FTRL register will stop the fec from trying to use multiple receive buffers. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/fec_main.c')
-rw-r--r--drivers/net/ethernet/freescale/fec_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c
index 41c81f6ec630..3e5b24ae537e 100644
--- a/drivers/net/ethernet/freescale/fec_main.c
+++ b/drivers/net/ethernet/freescale/fec_main.c
@@ -988,6 +988,7 @@ fec_restart(struct net_device *ndev)
val &= ~FEC_RACC_OPTIONS;
writel(val, fep->hwp + FEC_RACC);
}
+ writel(PKT_MAXBUF_SIZE, fep->hwp + FEC_FTRL);
#endif
/*