pci_create_legacy_files — create legacy I/O port and memory files


void pci_create_legacy_files (struct pci_bus * b);


struct pci_bus * b

bus to create files under


Some platforms allow access to legacy I/O port and ISA memory space on a per-bus basis. This routine creates the files and ties them into their associated read, write and mmap files from pci-sysfs.c

On error unwind, but don't propagate the error to the caller as it is ok to set up the PCI bus without these files.