summaryrefslogtreecommitdiff
path: root/drivers/scsi/megaraid/megaraid_sas.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-01-19 12:42:19 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-01-22 15:18:26 -0800
commit2db740cb364a38b6bf50e1c61dc6d9615bfe390c (patch)
tree070ab3b6c8ab6855268e6e873b54d965741fd74e /drivers/scsi/megaraid/megaraid_sas.c
parenteecd8a9ec6488e6b5c43c1c12368d6fdb8aa9430 (diff)
downloadlwn-2db740cb364a38b6bf50e1c61dc6d9615bfe390c.tar.gz
lwn-2db740cb364a38b6bf50e1c61dc6d9615bfe390c.zip
PCI/cardbus: Add a fixup hook and fix powerpc
commit 2d1c861871d767153538a77c498752b36d4bb4b8 upstream 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> Signed-off-by: Stefan Bader <stefan.bader@canonical.com> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/scsi/megaraid/megaraid_sas.c')
0 files changed, 0 insertions, 0 deletions