This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Net crasch on mpc850


Hi,

This was a very good tip. I havent tried it yet so i dont know if it was
the reason for my crasches. However, i can find the below *_INVALIDATE
on two places. As you mentioned it is located in the *_send function but
also in the quicc_eth_recv function. Should it be replaced with _FLUSH
there too?

Regards, Daniel

> There was a bug in SCC ethernet driver that mistakenly 
> invalidated data cache for the transmit buffer instead of 
> flushing it: search for line
> 	HAL_DCACHE_INVALIDATE(txbd->buffer, txbd->length);
> in file devs/eth/powerpc/quicc/current/src/if_quicc.c,
> it should be replaced with
> 	HAL_DCACHE_FLUSH(txbd->buffer, txbd->length);
> I'm not sure if this has been fixed in the CVS repository lately.
> 
> The SMC serial driver handles the cache correctly.
> 
> -lq
> 

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]