Hi,all
    When boot , following code in the kernel source (sa1100_switches.c) always print error messages.Irq  IRQ_GPIO_UCB1300_IRQ can not be requested!
 
    if(request_irq(IRQ_GPIO_UCB1300_IRQ, sa1100_switches_handler,
        SA_INTERRUPT, SA1100_SWITCHES_NAME, NULL)<0){
        printk(KERN_ERR "%s: UCB1300 in use, switches 3-8 not available\n",
        SA1100_SWITCHES_NAME);
    }
    
    Since UCB1200 module also uses this interrupt ( irq
    IRQ_GPIO_UCB1300_IRQ) as following code (ucb1200_generic.c) ,
 
   ret = request_irq(ucb1200_arch.irq, ucb1200_irq_demux, SA_INTERRUPT,
        "UCB1200", NULL);
 
   so I think that it 's probaby caused by shared interrupt request, and I
change the code like following code, but things keep unchanged.
 
   ret = request_irq(ucb1200_arch.irq, ucb1200_irq_demux, SA_INTERRUPT | SA_SHIRQ,"UCB1200", &devid);
 
   Can linux-2.4.3-rmk1-np1 support switches properly on assabet ?
   If yes , how can I make it work ? thanks in advance!
 
 
                                                Peter.G
                                            [EMAIL PROTECTED]
 

Reply via email to