linux/arch
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
..
alpha Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-12-15 09:02:01 -08:00
arm Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-12-15 09:02:01 -08:00
avr32 Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-12-15 09:02:01 -08:00
blackfin genirq: Convert irq_desc.lock to raw_spinlock 2009-12-14 23:55:33 +01:00
cris genirq: Convert irq_desc.lock to raw_spinlock 2009-12-14 23:55:33 +01:00
frv genirq: Convert irq_desc.lock to raw_spinlock 2009-12-14 23:55:33 +01:00
h8300 genirq: Convert irq_desc.lock to raw_spinlock 2009-12-14 23:55:33 +01:00
ia64 Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-12-15 09:02:01 -08:00
m32r genirq: Convert irq_desc.lock to raw_spinlock 2009-12-14 23:55:33 +01:00
m68k Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu 2009-12-14 09:58:24 -08:00
m68knommu Unify sys_mmap* 2009-12-11 06:44:29 -05:00
microblaze genirq: Convert irq_desc.lock to raw_spinlock 2009-12-14 23:55:33 +01:00
mips genirq: Convert irq_desc.lock to raw_spinlock 2009-12-14 23:55:33 +01:00
mn10300 genirq: Convert irq_desc.lock to raw_spinlock 2009-12-14 23:55:33 +01:00
parisc genirq: Convert irq_desc.lock to raw_spinlock 2009-12-14 23:55:33 +01:00
powerpc PCI/cardbus: Add a fixup hook and fix powerpc 2009-12-16 18:55:51 -08:00
s390 Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-12-15 09:02:01 -08:00
score Add missing alignment check in arch/score sys_mmap() 2009-12-11 06:48:57 -05:00
sh genirq: Convert irq_desc.lock to raw_spinlock 2009-12-14 23:55:33 +01:00
sparc Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-12-15 09:02:01 -08:00
um Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-12-15 09:02:01 -08:00
x86 PCI: fix section mismatch on update_res() 2009-12-16 13:37:52 -08:00
xtensa genirq: Convert irq_desc.lock to raw_spinlock 2009-12-14 23:55:33 +01:00
.gitignore
Kconfig Merge branch 'kvm-updates/2.6.33' of git://git.kernel.org/pub/scm/virt/kvm/kvm 2009-12-08 08:02:38 -08:00