1PCI_REQUEST_REGION(9)         Hardware Interfaces        PCI_REQUEST_REGION(9)
2
3
4

NAME

6       pci_request_region - Reserve PCI I/O and memory resource
7

SYNOPSIS

9       int pci_request_region(struct pci_dev * pdev, int bar,
10                              const char * res_name);
11

ARGUMENTS

13       pdev
14           PCI device whose resources are to be reserved
15
16       bar
17           BAR to be reserved
18
19       res_name
20           Name to be associated with resource
21

DESCRIPTION

23       Mark the PCI region associated with PCI device pdev BAR bar as being
24       reserved by owner res_name. Do not access any address inside the PCI
25       regions unless this call returns successfully.
26
27       Returns 0 on success, or EBUSY on error. A warning message is also
28       printed on failure.
29
31Kernel Hackers Manual 2.6.       November 2011           PCI_REQUEST_REGION(9)
Impressum