MACIO_REQUEST_RESOURCE

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

macio_request_resource - Request an MMIO resource  

SYNOPSIS

"SYNOPSIS"

int macio_request_resource (struct macio_dev * dev, int resource_no, const char * name);  

ARGUMENTS

dev
pointer to the device holding the resource
resource_no
resource number to request
name
resource name
 

DESCRIPTION

Mark memory region number resource_no associated with MacIO device dev as being reserved by owner name. Do not access any address inside the memory regions unless this call returns successfully.

Returns 0 on success, or EBUSY on error. A warning message is also printed on failure.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:26 GMT, October 09, 2005