DECLARE_MUTEX

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

 

NAME

DECLARE_MUTEX - allocate a new host controller.  

SYNOPSIS

"SYNOPSIS"

DECLARE_MUTEX ( host_num_alloc);  

ARGUMENTS

host_num_alloc
 

DESCRIPTION

Allocate a &hpsb_host and initialize the general subsystem specific fields. If the driver needs to store per host data, as drivers usually do, the amount of memory required can be specified by the extra parameter. Once allocated, the driver should initialize the driver specific parts, enable the controller and make it available to the general subsystem using hpsb_add_host.  

RETURN VALUE

a pointer to the &hpsb_host if succesful, NULL if no memory was available.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
RETURN VALUE

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