qemu-e2k/hw/pci-host
Benjamin Herrenschmidt 39d97e14a1 ppc: Make uninorth interrupt swizzling identical to Grackle
It's currently broken as it uses an incorrect shift, it tries
to use the slot number but uses the top bits of the bus number
instead.

Note: Neither implementation matches what OpenBIOS ends up putting
in the device-tree either, which will have to be fixed separately.

This is not quite correct for modelling a real Mac since Apple
tend to tie all 4 interrupt lines of a slot together and have
separate interrupts for every slot and every motherboard devices
going straight to the PIC but we'll sort that out later.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2016-11-23 12:00:48 +11:00
..
apb.c apb: convert init to realize 2016-07-29 00:07:09 +03:00
bonito.c pci: Clean up includes 2016-01-29 15:07:24 +00:00
gpex.c pci: Clean up includes 2016-01-29 15:07:24 +00:00
grackle.c hw/grackle: fix PCI bus initialization 2016-07-20 19:30:26 +03:00
Makefile.objs
pam.c
piix.c range: Eliminate direct Range member access 2016-07-04 16:49:33 +03:00
ppce500.c pci: Clean up includes 2016-01-29 15:07:24 +00:00
prep.c hw/prep: realize the PCI root bus as part of the prep init 2016-07-20 19:30:26 +03:00
q35.c range: Eliminate direct Range member access 2016-07-04 16:49:33 +03:00
uninorth.c ppc: Make uninorth interrupt swizzling identical to Grackle 2016-11-23 12:00:48 +11:00
versatile.c hw/versatile: realize the PCI root bus as part of the versatile init 2016-07-20 19:30:27 +03:00