* [Xenomai-core] 16550 compile err: ‘RTDM_IRQ_ENABLE’ undeclared (first use in this function)
@ 2006-02-28 20:10 Jim Cromie
2006-02-28 20:27 ` [Xenomai-core] 16550 compile err: ?RTDM_IRQ_ENABLE? " Jan Kiszka
0 siblings, 1 reply; 3+ messages in thread
From: Jim Cromie @ 2006-02-28 20:10 UTC (permalink / raw)
To: xenomai
LD drivers/xenomai/16550A/built-in.o
CC [M] drivers/xenomai/16550A/16550A.o
/mnt/dilbert/jimc/dilbert/lxbuild/linux-2.6.15.1-ipipe-121/drivers/xenomai/16550A/16550A.c:
In function ‘rt_16550_interrupt’:
/mnt/dilbert/jimc/dilbert/lxbuild/linux-2.6.15.1-ipipe-121/drivers/xenomai/16550A/16550A.c:269:
error: ‘RTDM_IRQ_ENABLE’ undeclared (first use in this function)
/mnt/dilbert/jimc/dilbert/lxbuild/linux-2.6.15.1-ipipe-121/drivers/xenomai/16550A/16550A.c:269:
error: (Each undeclared identifier is reported only once
/mnt/dilbert/jimc/dilbert/lxbuild/linux-2.6.15.1-ipipe-121/drivers/xenomai/16550A/16550A.c:269:
error: for each function it appears in.)
make[4]: *** [drivers/xenomai/16550A/16550A.o] Error 1
make[3]: *** [drivers/xenomai/16550A] Error 2
make[2]: *** [drivers/xenomai] Error 2
make[1]: *** [drivers] Error 2
make: *** [_all] Error 2
I de-configured 16550, it built fine, so I suspect some recent change
missed this item.
that said, I havent tried _NOENABLE, since im guessing blind.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-core] 16550 compile err: ?RTDM_IRQ_ENABLE? undeclared (first use in this function)
2006-02-28 20:10 [Xenomai-core] 16550 compile err: ‘RTDM_IRQ_ENABLE’ undeclared (first use in this function) Jim Cromie
@ 2006-02-28 20:27 ` Jan Kiszka
2006-03-01 8:01 ` Dmitry Adamushko
0 siblings, 1 reply; 3+ messages in thread
From: Jan Kiszka @ 2006-02-28 20:27 UTC (permalink / raw)
To: Jim Cromie; +Cc: xenomai
[-- Attachment #1: Type: text/plain, Size: 1826 bytes --]
Jim Cromie wrote:
> LD drivers/xenomai/16550A/built-in.o
> CC [M] drivers/xenomai/16550A/16550A.o
> /mnt/dilbert/jimc/dilbert/lxbuild/linux-2.6.15.1-ipipe-121/drivers/xenomai/16550A/16550A.c:
> In function ?rt_16550_interrupt?:
> /mnt/dilbert/jimc/dilbert/lxbuild/linux-2.6.15.1-ipipe-121/drivers/xenomai/16550A/16550A.c:269:
> error: ?RTDM_IRQ_ENABLE? undeclared (first use in this function)
> /mnt/dilbert/jimc/dilbert/lxbuild/linux-2.6.15.1-ipipe-121/drivers/xenomai/16550A/16550A.c:269:
> error: (Each undeclared identifier is reported only once
> /mnt/dilbert/jimc/dilbert/lxbuild/linux-2.6.15.1-ipipe-121/drivers/xenomai/16550A/16550A.c:269:
> error: for each function it appears in.)
> make[4]: *** [drivers/xenomai/16550A/16550A.o] Error 1
> make[3]: *** [drivers/xenomai/16550A] Error 2
> make[2]: *** [drivers/xenomai] Error 2
> make[1]: *** [drivers] Error 2
> make: *** [_all] Error 2
>
>
> I de-configured 16550, it built fine, so I suspect some recent change
> missed this item.
>
> that said, I havent tried _NOENABLE, since im guessing blind.
>
Yeah, I'm on it. Here is half of the patch I'm currently preparing:
--- ../ksrc/drivers/16550A/16550A.c (Revision 624)
+++ ../ksrc/drivers/16550A/16550A.c (Arbeitskopie)
@@ -238,7 +238,7 @@
int rbytes = 0;
int events = 0;
int modem;
- int ret = RTDM_IRQ_PROPAGATE;
+ int ret = RTDM_IRQ_NONE;
ctx = rtdm_irq_get_arg(irq_context, struct rt_16550_context);
@@ -266,7 +266,7 @@
events |= RTSER_EVENT_MODEMLO;
}
- ret = RTDM_IRQ_ENABLE | RTDM_IRQ_HANDLED;
+ ret = RTDM_IRQ_HANDLED;
}
if (ctx->in_nwait > 0) {
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-core] 16550 compile err: ?RTDM_IRQ_ENABLE? undeclared (first use in this function)
2006-02-28 20:27 ` [Xenomai-core] 16550 compile err: ?RTDM_IRQ_ENABLE? " Jan Kiszka
@ 2006-03-01 8:01 ` Dmitry Adamushko
0 siblings, 0 replies; 3+ messages in thread
From: Dmitry Adamushko @ 2006-03-01 8:01 UTC (permalink / raw)
To: Jan Kiszka; +Cc: xenomai
[-- Attachment #1: Type: text/plain, Size: 2094 bytes --]
On 28/02/06, Jan Kiszka <jan.kiszka@domain.hid> wrote:
>
> Jim Cromie wrote:
> > LD drivers/xenomai/16550A/built-in.o
> > CC [M] drivers/xenomai/16550A/16550A.o
> > /mnt/dilbert/jimc/dilbert/lxbuild/linux-2.6.15.1-ipipe-121
> /drivers/xenomai/16550A/16550A.c:
> > In function ?rt_16550_interrupt?:
> > /mnt/dilbert/jimc/dilbert/lxbuild/linux-2.6.15.1-ipipe-121
> /drivers/xenomai/16550A/16550A.c:269:
> > error: ?RTDM_IRQ_ENABLE? undeclared (first use in this function)
> > /mnt/dilbert/jimc/dilbert/lxbuild/linux-2.6.15.1-ipipe-121
> /drivers/xenomai/16550A/16550A.c:269:
> > error: (Each undeclared identifier is reported only once
> > /mnt/dilbert/jimc/dilbert/lxbuild/linux-2.6.15.1-ipipe-121
> /drivers/xenomai/16550A/16550A.c:269:
> > error: for each function it appears in.)
> > make[4]: *** [drivers/xenomai/16550A/16550A.o] Error 1
> > make[3]: *** [drivers/xenomai/16550A] Error 2
> > make[2]: *** [drivers/xenomai] Error 2
> > make[1]: *** [drivers] Error 2
> > make: *** [_all] Error 2
> >
> >
> > I de-configured 16550, it built fine, so I suspect some recent change
> > missed this item.
> >
> > that said, I havent tried _NOENABLE, since im guessing blind.
> >
>
> Yeah, I'm on it. Here is half of the patch I'm currently preparing:
>
> --- ../ksrc/drivers/16550A/16550A.c (Revision 624)
> +++ ../ksrc/drivers/16550A/16550A.c (Arbeitskopie)
> @@ -238,7 +238,7 @@
> int rbytes = 0;
> int events = 0;
> int modem;
> - int ret = RTDM_IRQ_PROPAGATE;
> + int ret = RTDM_IRQ_NONE;
>
>
> ctx = rtdm_irq_get_arg(irq_context, struct rt_16550_context);
> @@ -266,7 +266,7 @@
> events |= RTSER_EVENT_MODEMLO;
> }
>
> - ret = RTDM_IRQ_ENABLE | RTDM_IRQ_HANDLED;
> + ret = RTDM_IRQ_HANDLED;
> }
>
> if (ctx->in_nwait > 0) {
My fault, sorry. I should have fixed that but overlooked again.
Jan
>
--
Best regards,
Dmitry Adamushko
[-- Attachment #2: Type: text/html, Size: 3597 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-03-01 8:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-28 20:10 [Xenomai-core] 16550 compile err: ‘RTDM_IRQ_ENABLE’ undeclared (first use in this function) Jim Cromie
2006-02-28 20:27 ` [Xenomai-core] 16550 compile err: ?RTDM_IRQ_ENABLE? " Jan Kiszka
2006-03-01 8:01 ` Dmitry Adamushko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.