linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Sébastien Chrétien" <sebastien.chretien.enseirb@gmail.com>
To: linuxppc-dev@ozlabs.org
Subject: irq
Date: Wed, 3 Sep 2008 16:15:47 +0200	[thread overview]
Message-ID: <319b0ac50809030715h1a03a606jacddd400019f4483@mail.gmail.com> (raw)

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

Hello,

I am trying to register a function writh IRQ :

static irqreturn_t uart_test (int irq , void *dev_id)
{
    printk("/!\\ Interruption : tx_empty\n");
       return IRQ_HANDLED;
}

    req=request_irq(0x18,uart_test,NULL,"uart_test",NULL);
    printk("Initialisation IRQ UART : %d \n", req);

When I boot linux ppc, the req value is -38.
What is wrong ?

[-- Attachment #2: Type: text/html, Size: 570 bytes --]

             reply	other threads:[~2008-09-03 14:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-03 14:15 Sébastien Chrétien [this message]
2008-09-03 14:36 ` irq Daniele Bosi
2008-09-03 15:03   ` irq Sébastien Chrétien
2008-09-03 16:05     ` irq M B
2008-09-03 16:36       ` irq Sébastien Chrétien
2008-09-03 17:08         ` irq Scott Wood
2008-09-03 21:02           ` irq Sébastien Chrétien
2008-09-03 21:03             ` irq Scott Wood
2008-09-04  3:02             ` irq Benjamin Herrenschmidt
2008-09-04  8:27               ` irq Sébastien Chrétien
2008-09-04 13:23                 ` irq Sébastien Chrétien
2008-09-04 14:18                   ` irq Scott Wood

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=319b0ac50809030715h1a03a606jacddd400019f4483@mail.gmail.com \
    --to=sebastien.chretien.enseirb@gmail.com \
    --cc=linuxppc-dev@ozlabs.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).