net: fec: init maximum receive buffer size for ring1 and ring2
authorNimrod Andy <B38611@freescale.com>
Sun, 23 Nov 2014 09:23:06 +0000 (17:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Nov 2014 20:22:57 +0000 (15:22 -0500)
commitd543a76295a7f83ab990970f68c9501a0bb4bcb5
tree782f90f555fd296bcff5ab27f13c1dabe6ebce5c
parentc33d23c21501f8e3e045e73b55a49167e1f3a721
net: fec: init maximum receive buffer size for ring1 and ring2

i.MX6SX fec support three rx ring1, the current driver lost to init
ring1 and ring2 maximum receive buffer size, that cause receving
frame date length error. The driver reports "rcv is not +last" error
log in user case.

Signed-off-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec.h
drivers/net/ethernet/freescale/fec_main.c