]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] pci and yenta: pcibios_bus_to_resource
authorDominik Brodowski <linux@dominikbrodowski.net>
Fri, 5 Aug 2005 01:06:21 +0000 (18:06 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 5 Aug 2005 04:32:46 +0000 (21:32 -0700)
commit43c34735524d5b1c9b9e5d63b49dd4c1b394bde4
treea61c11d4075f149be9c0aae6b6c0a935c94571af
parentfec59a711eef002d4ef9eb8de09dd0a26986eb77
[PATCH] pci and yenta: pcibios_bus_to_resource

In yenta_socket, we default to using the resource setting of the CardBus
bridge.  However, this is a PCI-bus-centric view of resources and thus needs
to be converted to generic resources first.  Therefore, add a call to
pcibios_bus_to_resource() call in between.  This function is a mere wrapper on
x86 and friends, however on some others it already exists, is added in this
patch (alpha, arm, ppc, ppc64) or still needs to be provided (parisc -- where
is its pcibios_resource_to_bus() ?).

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/alpha/kernel/pci.c
arch/arm/kernel/bios32.c
arch/ppc/kernel/pci.c
arch/ppc64/kernel/pci.c
drivers/pcmcia/yenta_socket.c
include/asm-alpha/pci.h
include/asm-arm/pci.h
include/asm-generic/pci.h
include/asm-parisc/pci.h
include/asm-ppc/pci.h
include/asm-ppc64/pci.h