[PATCH] yenta: share code with PCI core
authorDominik Brodowski <linux@dominikbrodowski.net>
Fri, 9 Sep 2005 20:03:23 +0000 (13:03 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 9 Sep 2005 20:57:47 +0000 (13:57 -0700)
commitb3743fa4442fc172e950ff0eaf6aa96e7d5ce9be
treefdc53b41cc1c1d762397bf673c43991000a6bdbe
parent76fa82fb7156aa7191dfd1fdede1fc0da51d45dd
[PATCH] yenta: share code with PCI core

Share code between setup-bus.c and yenta_socket.c: use the write-out code of
resources to the bridge also in yenta_socket.c, as it provides useful debug
output.  In addition, it fixes the bug that the CPU-centric resource view
might need to be transferred to the PCI-centric view: setup-bus.c does that,
while yenta-socket.c did not.

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/pci/setup-bus.c
drivers/pcmcia/yenta_socket.c
include/linux/pci.h