This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Davicom DM9000 driver with interrupts
- From: Mark Salter <msalter at redhat dot com>
- To: Stefan Rosinger <a_jedi_night4u at gmx dot at>
- Cc: "ecos-discuss at sources dot redhat dot com" <ecos-discuss at sources dot redhat dot com>, "msalter at sourceware dot org" <msalter at sourceware dot org>
- Date: Thu, 16 Dec 2004 07:59:39 -0500
- Subject: Re: [ECOS] Davicom DM9000 driver with interrupts
- Organization: Red Hat Inc.
- References: <opsi3j37iz8kxu5e@mail.gmx.at>
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