]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Add legacy_io/mem to all busses
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 12 Nov 2008 03:38:53 +0000 (14:38 +1100)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 7 Jan 2009 19:12:25 +0000 (11:12 -0800)
commite3cc187157f39791ff0e0e25422ed02a67e64b45
tree93a8d3d8e6826492e61e754629ba30f646528d5c
parentecd23741397f540e83c55d16caa5368f3f1fec68
PCI: Add legacy_io/mem to all busses

Currently, only PHBs get the legacy_* files, which makes it tricky for
userland to get access to the legacy space.  This commit exposes them in
every bus, since even child buses may forward legacy cycles if
configured properly.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/bus.c