[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>
Showing
- arch/alpha/kernel/pci.c 16 additions, 0 deletionsarch/alpha/kernel/pci.c
- arch/arm/kernel/bios32.c 17 additions, 0 deletionsarch/arm/kernel/bios32.c
- arch/ppc/kernel/pci.c 15 additions, 0 deletionsarch/ppc/kernel/pci.c
- arch/ppc64/kernel/pci.c 20 additions, 0 deletionsarch/ppc64/kernel/pci.c
- drivers/pcmcia/yenta_socket.c 6 additions, 9 deletionsdrivers/pcmcia/yenta_socket.c
- include/asm-alpha/pci.h 3 additions, 0 deletionsinclude/asm-alpha/pci.h
- include/asm-arm/pci.h 4 additions, 0 deletionsinclude/asm-arm/pci.h
- include/asm-generic/pci.h 8 additions, 0 deletionsinclude/asm-generic/pci.h
- include/asm-parisc/pci.h 4 additions, 0 deletionsinclude/asm-parisc/pci.h
- include/asm-ppc/pci.h 4 additions, 0 deletionsinclude/asm-ppc/pci.h
- include/asm-ppc64/pci.h 4 additions, 0 deletionsinclude/asm-ppc64/pci.h
Loading
Please register or sign in to comment