powerpc/PCI: Add legacy PCI access via sysfs
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 14 Oct 2008 00:55:31 +0000 (11:55 +1100)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 20 Oct 2008 18:01:47 +0000 (11:01 -0700)
commite9f82cb75096ae30658a72d473bf170bf4d3bb2e
treeb01ec524b3dfe34b520044bdb8e5b13fbe39f4f7
parentf19aeb1f3638b7bb4ca21eb361f004fac2bfe259
powerpc/PCI: Add legacy PCI access via sysfs

This patch adds support for legacy_io and legacy_mem files in
bus class directories in sysfs for powerpc

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
arch/powerpc/include/asm/pci-bridge.h
arch/powerpc/include/asm/pci.h
arch/powerpc/kernel/pci-common.c