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: Is it possible to do polling for the Ethernetdriverusing a stack ?


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.

> 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).

-- 
------------------------------------------------------------
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


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