[ECOS] Is it possible to do polling for the Ethernet driverusing a stack ?
Mon Nov 4 13:46:00 GMT 2002
On Monday 04 November 2002 05:13 pm, Gary Thomas wrote:
> On Mon, 2002-11-04 at 02:06, NavEcos wrote:
> > This is a bit off topic, but would it be possible to get polling to work
> > with RedBoot?
> What do you mean? RedBoot only works via polling.
Oh! I didn't even realize this. I don't know much about RedBoot
> > The reason I ask is that I thought it might be useful to make a CDL
> > option to create a task that polls the ethernet device, but I recall that
> > RedBoot is a single thread so that it wouldn't work as a debug port.
> This isn't all that hard to do. Look at the CS8900 ethernet
> driver. It can be configured to have a background thread
> which polls instead of using interrupts (because some of the
> early Cirrus Logic boards had broken interrupt support).
When I get a chance, I will submit a patch with CDL that when enabled
will automatically start a thread on startup to poll to ethernet. As
far as I can tell, this should be entirely portable to any eithernet
driver shouldn't it?
I need to get to understand the ethernet driver API to the IP stack
anyhow, so I'm looking for a project to do.
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