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: Davicom DM9000 driver with interrupts


On Thu, 2004-12-16 at 05:44, Stefan Rosinger wrote:
> Hi!
> 
> I have now the Davicom chip with Redboot up and running.
> 
> Now I have to extend the driver with Interrupts because I want to use it  
> with an eCos application.
> 
> Is this work alread done?
> 
No, it doesn't look like it.

> If not, which things I have to do?
> 
It should be trivial. You need to add a mechanism for the platforms
to define which irq the dm9000 is using. Then in the driver init
function attach a handler for that irq. All the handler needs to
do is call dm9000_poll() and handle any irq acking (if needed) for
the chip.

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


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