---
name: "pci_create_legacy_files"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/pci_create_legacy_files"
---

# pci\_create\_legacy\_files(9)

create legacy I/O port and memory files

## NAME

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
