[ECOS] MPC8xx FEC Ethernet driver bugfixes/improvements

Gary Thomas gthomas@ecoscentric.com
Fri Oct 11 13:25:00 GMT 2002


On Fri, 2002-10-11 at 01:49, Wolfgang Heppner wrote: 
> Hi,
> 
> i am working on a MPC860 based, custom designed board, using the FEC
> Ethernet driver (originally written for the VIPER)
> 
> I encountered some problems in the file if_fec.c:
> 
> 1. Datacache SYNCS are performed, regardless wether the cache is enabled
> or not.
> 2. The offsetaddress of the FEC-bufferdescriptors is hardcoded in
> if_fec.c.
>    For some applications / targets that heavily use internal memory for
> buffers
>    or bufferdescriptors, the FEC-BDs can be in the way. It would be
> better to
>    define this address in the platform-specific code (like e.g.
> viper_eth.inl)
> 3. Most importand: During initialisation the datacache is disabled but
> not
>    re-enabled.
> 

I've applied your changes (with a little CDL added).

Thanks.

-- 
------------------------------------------------------------
Gary Thomas                  |
eCosCentric, Ltd.            |  
+1 (970) 229-1963            |  eCos & RedBoot experts
gthomas@ecoscentric.com      |
http://www.ecoscentric.com/  |
------------------------------------------------------------


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list