-
- Downloads
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 <benh@kernel.crashing.org> Signed-off-by:
Jesse Barnes <jbarnes@virtuousgeek.org>
Showing
- arch/ia64/include/asm/pci.h 2 additions, 10 deletionsarch/ia64/include/asm/pci.h
- arch/ia64/pci/pci.c 6 additions, 1 deletionarch/ia64/pci/pci.c
- drivers/pci/pci-sysfs.c 88 additions, 5 deletionsdrivers/pci/pci-sysfs.c
- drivers/pci/pci.h 6 additions, 0 deletionsdrivers/pci/pci.h
- drivers/pci/probe.c 0 additions, 66 deletionsdrivers/pci/probe.c
Loading
Please register or sign in to comment