linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* irq
@ 2008-09-03 14:15 Sébastien Chrétien
  2008-09-03 14:36 ` irq Daniele Bosi
  0 siblings, 1 reply; 12+ messages in thread
From: Sébastien Chrétien @ 2008-09-03 14:15 UTC (permalink / raw)
  To: linuxppc-dev

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-09-04 14:18 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-03 14:15 irq Sébastien Chrétien
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

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).