From: Kristoffer E. <kri...@gm...> - 2007-11-13 22:48:10
|
Greetings, Just starting looking at pcmcia code again. When compairing to hd64465 code I found this segment: static void hs_mask_and_ack_irq(unsigned int irq) { hs_socket_disable_ireq(hs_mapped_irq[irq].sock); if (hs_mapped_irq[irq].old_handler != &no_irq_type) hs_mapped_irq[irq].chip->ack(irq); } Now, it says as a comment that this was used to get rid of some unexpected IRQ complaints. Im experiencing same issues with my hd64461 driver and been bugtracking this for a couple of weeks. I just can't understand why that code should be needed for hd64465 || hd64461? Could someone please put that code in a situation were it actually would make some good. To make the context clear: pcmcia driver uses IRQ 78 pcmcia_card gets IRQ 79 All interrupts are 78 and then demux translates them into pcmcia slot OR pcmcia card interrupt. |