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 ?
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to