diff options
author | Troy Kisky <troy.kisky@boundarydevices.com> | 2016-02-06 00:52:43 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-11 14:14:51 +0300 |
commit | 55cd48c821def1d3192f166b4ce48254cf2e5a69 (patch) | |
tree | 03659963d7b7f7ba0ed10765fca179b70e4aad18 /drivers/net/ethernet/freescale/fec_main.c | |
parent | 7f20cd252185702f951009e0a56778f870d50ca6 (diff) | |
download | linux-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.c | 1 |
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 /* |