irq
    Sébastien Chrétien 
    sebastien.chretien.enseirb at gmail.com
       
    Thu Sep  4 00:15:47 EST 2008
    
    
  
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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080903/fbd73117/attachment.htm>
    
    
More information about the Linuxppc-dev
mailing list