SysTutorials

Linux Manual Pages › Section 9

pci_create_legacy_files(9)

pci_create_legacy_files - create legacy I/O port and memory files

Synopsis

void pci_create_legacy_files(struct pci_bus *b);

Arguments

b

bus to create files under

Description

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.

Copyright