On Thu, Nov 02, 2006 at 11:51:53AM +0900, Atsushi Nemoto wrote: > 1. replace set_irq_chip() with set_irq_chip_and_handler(..., handle_level_irq) > 2. use generic_handle_irq() instead of __do_IRQ() Another beneft of the new generic interrupt code will be for weird multiplex devices like IOC3 which basically want to be treated as if they have an interrupt controller on the PCI card itself. The latest code now enables the IOC3 metadriver to support that in a portable way. The only thing that's still missing is a portable way to allocate an interrupt number. > I'm still not sure for per-cpu type irq chips and egdg type irq chips, > especially i8259. The i8259 seems not suitable for handle_edge_irq or > handle_level_irq yet. The irq handling on SMP seems another maze ... One step after another. Ralf