All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Dmitry Adamushko" <dmitry.adamushko@domain.hid>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] 16550 compile err: ?RTDM_IRQ_ENABLE? undeclared (first use in this function)
Date: Wed, 1 Mar 2006 10:01:04 +0200	[thread overview]
Message-ID: <b647ffbd0603010001i58a7d8a5m@domain.hid> (raw)
In-Reply-To: <4404B22D.5000906@domain.hid>

[-- 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 --]

      reply	other threads:[~2006-03-01  8:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b647ffbd0603010001i58a7d8a5m@domain.hid \
    --to=dmitry.adamushko@domain.hid \
    --cc=jan.kiszka@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.