From: Benjamin Herrenschmidt Date: Fri, 3 Oct 2008 09:49:32 +0000 (+1000) Subject: PCI: Add ability to mmap legacy_io on some platforms X-Git-Tag: v2.6.28-rc1~77^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f19aeb1f3638b7bb4ca21eb361f004fac2bfe259;p=pandora-kernel.git PCI: Add ability to mmap legacy_io on some platforms This adds the ability to mmap legacy IO space to the legacy_io files in sysfs on platforms that support it. This will allow to clean up X to use this instead of /dev/mem for legacy IO accesses such as those performed by Int10. While at it I moved pci_create/remove_legacy_files() to pci-sysfs.c where I think they belong, thus making more things statis in there and cleaned up some spurrious prototypes in the ia64 pci.h file Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed