Ok, I understand that including irq-extension.h in libchip drivers is not
required.
So, you agree that using ifdefs is the way to go. I should use IRQ API methods
& rtems_interrupt_catch() for simple vectored architectures like it's done in
ata.c. Right ?
Regards
Vipul Nayyar
________________________________
From: Sebastian Huber <[email protected]>
To: Vipul Nayyar <[email protected]>
Cc: Joel Sherrill <[email protected]>; "[email protected]"
<[email protected]>
Sent: Thursday, 1 August 2013 9:24 PM
Subject: Re: [PATCH] Updated legacy code in ata & dec21140
On 2013-08-01 17:41, Vipul Nayyar wrote:
>
> I added "#include <rtems/irq-extension.h>" in ata.c so that the generic
> methods could work. Shouldn't including the extensions header solve the
> problem ?
The BSPs providing the IRQ extensions API include this file via <bsp/irq.h>
indirectly and they should define BSP_FEATURE_IRQ_EXTENSION in <bsp.h>.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : [email protected]
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
rtems-devel mailing list
[email protected]
http://www.rtems.org/mailman/listinfo/rtems-devel