All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: niklaus.giger@domain.hid
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] PPC405: DMA-Problem with OCM (interrupt-example)
Date: Thu, 18 Jan 2007 01:26:17 +0100	[thread overview]
Message-ID: <45AEBEA9.6030801@domain.hid> (raw)
In-Reply-To: <200701172333.25574.niklaus.giger@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 552 bytes --]

Niklaus Giger wrote:
> ...
> Is the example code otherwise good enough to be accepted as an example how to 
> attach a interrupt?

Can't help with your core issue, but I can comment on the IRQ code:

Please use RTDM for in-kernel demos like this. Unless you embed the IRQ
handling into an application directly, RTDM is the preferred way to go -
as you are then designing a driver.

When porting to RTDM, watch out for the latest change I just checked in:
there is now no need to enable an IRQ line explicitly after requesting it.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

  reply	other threads:[~2007-01-18  0:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-17 22:33 [Xenomai-core] PPC405: DMA-Problem with OCM (interrupt-example) Niklaus Giger
2007-01-18  0:26 ` Jan Kiszka [this message]
2007-01-18  8:31 ` Wolfgang Grandegger
2007-01-19 23:06   ` [Xenomai-core] PPC405: DMA-problem solved! Niklaus Giger
2007-01-20  8:04     ` Jan Kiszka
2007-01-21 21:37       ` Wolfgang Grandegger
2007-01-22 14:06         ` Jan Kiszka
2007-01-22  7:22       ` Niklaus Giger

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=45AEBEA9.6030801@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=niklaus.giger@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.