]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
PPC: 440: Ignore invalid PCI IRQs
authorAlexander Graf <agraf@suse.de>
Tue, 3 Jan 2012 18:15:16 +0000 (19:15 +0100)
committerAlexander Graf <agraf@suse.de>
Sat, 21 Jan 2012 04:17:00 +0000 (05:17 +0100)
commitd49bc1fb3e2ca981e1655b82cbd5ef6b301ce2ff
tree45127cbb49b2e24d2ffe259a221a9386b2e92b2a
parent72718e9a4a26f18ba765b4954e5be985676a60b8
PPC: 440: Ignore invalid PCI IRQs

When running a 440 target, we currently get invalid irq_num values (-1)
which completely confuse the IRQ setting code.

This is most likely due to the missing qdev conversion.

While this shouldn't happen in the first place and should really rather
be fixed by converting the target, I dislike segfaults. So for now, let's
just print a warning and ignore invalid irq_num values.

Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc4xx_pci.c