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 <sebastian.hu...@embedded-brains.de>
To: Vipul Nayyar <nayyar_vi...@yahoo.com>
Cc: Joel Sherrill <joel.sherr...@oarcorp.com>; "rtems-devel@rtems.org"
<rtems-devel@rtems.org>
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 : sebastian.hu...@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
rtems-devel mailing list
rtems-devel@rtems.org
http://www.rtems.org/mailman/listinfo/rtems-devel