Re: [PATCH 1/3] gianfar: Implement workaround for eTSEC74 erratum

2010-06-30 Thread Anton Vorontsov
On Tue, Jun 29, 2010 at 03:16:26PM -0700, David Miller wrote: I really don't see any value at all to this config option, the errata fixup code should be there all the time. Well, at least for eTSEC76 erratum (patch 2/3) we have to touch fast path (i.e. start_xmit), so I just wanted to make

Re: [PATCH 1/3] gianfar: Implement workaround for eTSEC74 erratum

2010-06-30 Thread David Miller
From: Anton Vorontsov avoront...@mvista.com Date: Wed, 30 Jun 2010 20:38:04 +0400 On Tue, Jun 29, 2010 at 03:16:26PM -0700, David Miller wrote: I really don't see any value at all to this config option, the errata fixup code should be there all the time. Well, at least for eTSEC76 erratum

[PATCH 1/3] gianfar: Implement workaround for eTSEC74 erratum

2010-06-29 Thread Anton Vorontsov
MPC8313ECE says: If MACCFG2[Huge Frame]=0 and the Ethernet controller receives frames which are larger than MAXFRM, the controller truncates the frames to length MAXFRM and marks RxBD[TR]=1 to indicate the error. The controller also erroneously marks RxBD[TR]=1 if the received frame length is