.\" 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 "MACIO_REQUEST_RESOURCES" "9" "09 October 2005" "" ""
.SH NAME
macio_request_resources \- Reserve all memory resources
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int macio_request_resources (struct macio_dev * \fIdev\fB, const char * \fIname\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdev\fB\fR
MacIO device whose resources are to be reserved
.TP
\fB\fIname\fB\fR
Name to be associated with resource.
.SH "DESCRIPTION"
.PP
Mark all memory regions associated with MacIO device \fIdev\fR as
being reserved by owner \fIname\fR\&. Do not access any address inside
the memory regions unless this call returns successfully.
.PP
Returns 0 on success, or EBUSY on error. A warning
message is also printed on failure.