[ECOS]Eth driver to NPE on xscale ixp425

Mark Salter msalter@redhat.com
Fri Sep 24 14:09:00 GMT 2004


On Fri, 2004-09-24 at 07:22, jerzy dyrda wrote:
> Hi Mark,
> 
> I have more question about driver : 
> 1. Why is rx and tx_callback registerd two times ( in npe_init and npe_start) 
> - I try to add driver to eCos  multithread application.

Honestly, I don't recall. It appears to be harmless. Maybe the register
calls and the port enable call in npe_init should be removed. npe_start
should take care of that. 

> 2. NPE Mh is initialized in interrupt mode but in npe_poll is checked for 
> messages from the NPE. Is that correct ?

Again I'm not sure, but it makes no difference for RedBoot and it should
be interrupt mode for eCos. 

--Mark


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



More information about the Ecos-discuss mailing list