This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Does eCos supports chained interrupt?
On Thu, 2003-05-15 at 03:31, Zi Zhou wrote:
> Hi,
>
> I am wondering if eCos supports chained interrupt. I have multiple PCI devices
> connected to the same interrupt line - in my case, I use MIPS CPU and all the
> PCI devices is connected to interrupt 4. These PCI devices share the same ISR &
> driver code. It would be easier if when interrupt happens, ISR will be invoked
> for each PCI device and if the interrupt does not come from this device, the
> ISR will return and the same ISR will be invoked for the next device, until all
> the devices are serviced. If eCos doesn't support this, can someone point me
> to a solution that basically do the same thing with minor changes to existing
> eCos API? btw, I am not using DSR right now.
>
Yes, chained interrupts should be supported by all platforms.
See CYGIMP_HAL_COMMON_INTERRUPTS_CHAIN
(defined in hal/common/current/cdl/interrupts.cdl)
--
Gary D. Thomas <gary.thomas@mind.be>
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss