.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "PCI_REQUEST_REGION" "9" "09 October 2005" "" ""
.SH NAME
pci_request_region \- Reserved PCI I/O and memory resource
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int pci_request_region (struct pci_dev * \fIpdev\fB, int \fIbar\fB, char * \fIres_name\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIpdev\fB\fR
PCI device whose resources are to be reserved
.TP
\fB\fIbar\fB\fR
BAR to be reserved
.TP
\fB\fIres_name\fB\fR
Name to be associated with resource.
.SH "DESCRIPTION"
.PP
Mark the PCI region associated with PCI device \fIpdev\fR BR \fIbar\fR as
being reserved by owner \fIres_name\fR\&. Do not access any
address inside the PCI regions unless this call returns
successfully.
.PP
Returns 0 on success, or EBUSY on error. A warning
message is also printed on failure.