implement HAVE_PCI_LEGACY for ia64
Tony, the generic part of this patch just got applied to Linus' tree. Can you please include the ia64 part in the tree you have Linus pull from next?
Thanks,
Jesse
Quoted 20 lines · Jesse Barnes
This patch implements the features required for the
HAVE_PCI_LEGACYcode in sysfs. It allows userspace applications to access legacy I/O ports an memory space using files in sysfs on a per-bus basis. Tested on sn2, but it *should* work on other ia64 platforms as well (though zx1 will probably need machine vectors to do routing of non-base busses).arch/ia64/pci/pci.c | 114 +++++++++++++++++++++++++++++++++++++- arch/ia64/sn/pci/pci_dma.c | 64 ++++++++++++++++++++++ include/asm-ia64/machvec.h | 24 ++++++++ include/asm-ia64/machvec_init.h | 3 + include/asm-ia64/machvec_sn2.h | 6 ++ include/asm-ia64/pci.h | 14 ++++ include/asm-ia64/sn/sn_sal.h | 46 ++++++++++++++++ 7 files changed, 270 insertions(+), 1 deletion(-)Signed-off-by Jesse Barnes <[email protected]>Thanks,
Jesse