linux/arch/ia64/hp/sim
Jiri Slaby 6efb6b77ff hpsim, initialize chip for assigned irqs
Currently, when assign_irq_vector is called and the irq connected in
the simulator, the irq is not ready. request_irq will return ENOSYS
immediately. It is because the irq chip is unset.

Hence set the chip properly to irq_type_hp_sim. And make sure this is
done from both users of simulated interrupts.

Also we have to set handler here, otherwise we end up in
handle_bad_int resulting in spam in logs and no irqs handled. We use
handle_simple_irq as these are SW interrupts that need no ACK or
anything.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-03-08 12:26:30 -08:00
..
boot hpsim, fix SAL handling in fw-emu 2012-03-08 12:26:30 -08:00
hpsim_console.c [IA64] Cleanup HPSIM code (was: Re: Enable early console for Ski simulator) 2007-09-01 02:52:25 -07:00
hpsim_irq.c hpsim, initialize chip for assigned irqs 2012-03-08 12:26:30 -08:00
hpsim_machvec.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hpsim_setup.c hpsim, initialize chip for assigned irqs 2012-03-08 12:26:30 -08:00
hpsim_ssc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hpsim.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig IA64: HP_SIMETH needs to depend upon NET 2008-12-10 15:24:50 -08:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
simeth.c hpsim, initialize chip for assigned irqs 2012-03-08 12:26:30 -08:00
simscsi.c SCSI host lock push-down 2010-11-16 13:33:23 -08:00
simserial.c hpsim, initialize chip for assigned irqs 2012-03-08 12:26:30 -08:00