All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Jim Cromie <jim.cromie@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] 16550 compile err: ?RTDM_IRQ_ENABLE? undeclared (first use in this function)
Date: Tue, 28 Feb 2006 21:27:25 +0100	[thread overview]
Message-ID: <4404B22D.5000906@domain.hid> (raw)
In-Reply-To: <4404AE22.3050600@domain.hid>

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

  reply	other threads:[~2006-02-28 20:27 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 ` Jan Kiszka [this message]
2006-03-01  8:01   ` [Xenomai-core] 16550 compile err: ?RTDM_IRQ_ENABLE? " Dmitry Adamushko

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=4404B22D.5000906@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=jim.cromie@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.