linux/arch/powerpc
Benjamin Herrenschmidt 2d1c861871 PCI/cardbus: Add a fixup hook and fix powerpc
The cardbus code creates PCI devices without ever going through the
necessary fixup bits and pieces that normal PCI devices go through.

There's in fact a commented out call to pcibios_fixup_bus() in there,
it's commented because ... it doesn't work.

I could make pcibios_fixup_bus() do the right thing on powerpc easily
but I felt it cleaner instead to provide a specific hook pci_fixup_cardbus
for which a weak empty implementation is provided by the PCI core.

This fixes cardbus on powerbooks and probably all other PowerPC
platforms which was broken completely for ever on some platforms and
since 2.6.31 on others such as PowerBooks when we made the DMA ops
mandatory (since those are setup by the fixups).

Acked-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2009-12-16 18:55:51 -08:00
..
boot powerpc/44x: Fix PCI node in Yosemite DTS 2009-12-04 07:10:26 -05:00
configs Merge commit 'origin/master' into next 2009-12-09 17:14:38 +11:00
include/asm locking: Convert raw_rwlock functions to arch_rwlock 2009-12-14 23:55:32 +01:00
kernel PCI/cardbus: Add a fixup hook and fix powerpc 2009-12-16 18:55:51 -08:00
kvm Merge commit 'origin/master' into next 2009-12-09 17:14:38 +11:00
lib locking: Convert raw_rwlock to arch_rwlock 2009-12-14 23:55:32 +01:00
math-emu powerpc/math-emu: Fix efp dependence 2009-03-11 06:00:08 -05:00
mm powerpc/8xx: Invalidate non present TLBs 2009-12-09 17:10:35 +11:00
oprofile tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
platforms genirq: Convert irq_desc.lock to raw_spinlock 2009-12-14 23:55:33 +01:00
sysdev genirq: Convert irq_desc.lock to raw_spinlock 2009-12-14 23:55:33 +01:00
xmon powerpc/pseries: Add extended_cede_processor() helper function. 2009-11-24 14:33:03 +11:00
Kconfig sysfs/cpu: Add probe/release files 2009-12-09 17:09:33 +11:00
Kconfig.debug powerpc: tracing: Add hypervisor call tracepoints 2009-10-28 16:13:04 +11:00
Makefile powerpc: Check for unsupported relocs when using CONFIG_RELOCATABLE 2009-09-24 15:31:40 +10:00
relocs_check.pl powerpc: Check for unsupported relocs when using CONFIG_RELOCATABLE 2009-09-24 15:31:40 +10:00