.\" 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 "ACPIPHP_GET_RESOURCE" "" "06 October 2005" "" ""
.SH NAME
acpiphp_get_resource \- get resource (mem, pfmem)
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct pci_resource * acpiphp_get_resource (struct pci_resource ** \fIhead\fB, u32 \fIsize\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIhead\fB\fR
-- undescribed --
.TP
\fB\fIsize\fB\fR
-- undescribed --
.SH "DESCRIPTION"
.PP
.PP
this function sorts the resource list by size and then
returns the first node of ``size'' length. If it finds a node
larger than ``size'' it will split it up.
.PP
size must be a power of two.