This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Eth driver to NPE on xscale ixp425
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