android_kernel_motorola_sm6225/arch/powerpc/platforms/powermac
Benjamin Herrenschmidt f90bb153b1 [POWERPC] Make pci_read_irq_line the default
This patch reworks the way IRQs are fixed up on PCI for arch powerpc.

It makes pci_read_irq_line() called by default in the PCI code for
devices that are probed, and add an optional per-device fixup in
ppc_md for platforms that really need to correct what they obtain
from pci_read_irq_line().

It also removes ppc_md.irq_bus_setup which was only used by pSeries
and should not be needed anymore.

I've also removed the pSeries s7a workaround as it can't work with
the current interrupt code anyway. I'm trying to get one of these
machines working so I can test a proper fix for that problem.

I also haven't updated the old-style fixup code from 85xx_cds.c
because it's actually buggy :) It assigns pci_dev->irq hard coded
numbers which is no good with the new IRQ mapping code. It should
at least use irq_create_mapping(NULL, hard_coded_number); and possibly
also set_irq_type() to set them as level low.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-12-04 16:00:04 +11:00
..
backlight.c Merge branch 'merge' 2006-08-01 10:37:25 +10:00
bootx_init.c [POWERPC] Fix BootX booting with an initrd 2006-08-23 15:51:18 +10:00
cache.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cpufreq_32.c [POWERPC] powermac: Constify & voidify get_property() 2006-07-31 15:55:05 +10:00
cpufreq_64.c [PATCH] completions: lockdep annotate on stack completions 2006-10-01 00:39:24 -07:00
feature.c [PATCH] Fix compile warnings with CONFIG_PM=n 2006-11-13 14:49:00 +11:00
low_i2c.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
Makefile [PATCH] 3/5 powerpc: Add platform functions interpreter 2006-01-09 15:47:18 +11:00
nvram.c [PATCH] completions: lockdep annotate on stack completions 2006-10-01 00:39:24 -07:00
pci.c [POWERPC] Make pci_read_irq_line the default 2006-12-04 16:00:04 +11:00
pfunc_base.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
pfunc_core.c [POWERPC] powermac: Constify & voidify get_property() 2006-07-31 15:55:05 +10:00
pic.c [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
pic.h [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
pmac.h [POWERPC] Make pci_read_irq_line the default 2006-12-04 16:00:04 +11:00
setup.c [POWERPC] Make pci_read_irq_line the default 2006-12-04 16:00:04 +11:00
sleep.S [POWERPC] Fix build breakage with CONFIG_PPC32 2006-10-23 18:23:17 +10:00
smp.c [POWERPC] Fix secondary CPU startup on old "powersurge" SMP powermacs 2006-10-10 13:51:00 +10:00
time.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
udbg_adb.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
udbg_scc.c [POWERPC] Get default baud rate in udbg_scc 2006-10-04 14:52:31 +10:00