.\" 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_MMAP_RESOURCE" "9" "09 October 2005" "" ""
.SH NAME
pci_mmap_resource \- map a PCI resource into user memory space
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int pci_mmap_resource (struct kobject * \fIkobj\fB, struct bin_attribute * \fIattr\fB, struct vm_area_struct * \fIvma\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIkobj\fB\fR
kobject for mapping
.TP
\fB\fIattr\fB\fR
struct bin_attribute for the file being mapped
.TP
\fB\fIvma\fB\fR
struct vm_area_struct passed into the mmap
.SH "DESCRIPTION"
.PP
Use the regular PCI mapping routines to map a PCI resource into userspace.
.SH "FIXME"
.PP
write combining? maybe automatic for prefetchable regions?