DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

hpci_hpcd_t(D4hpci)


hpci_hpcd_t -- hot plug controller data structure

Syntax

   #include <sys/types.h>
   #include <sys/hpci.h>
   #include <sys/ddi.h>
   

Description

The hpci_hpcd_t structure provides information about the hot plug controller driver to the hpci driver.

Structure definitions

The hpci_hpcd_t structure contains the following members:
   void               *private;
   hpci_op_t          modify_callback;
   hpcd_lock_op_t	   lock_callback;
   hpcd_unlock_op_t   unlock_callback;
   int            	   buscnt;
   hpci_bus_t         *bus_list;

Structure members

The members of the hpci_hpcd_t structure are defined as:

*private
to be used by the hpcd driver instance itself.

modify_callback
address of the modify_callback(D2hpci) routine to be used by the kernel.

lock_callback
address of the hpcd driver's lock_callback(D2hpci) interface lock routine.

unlock_callback
address of the hpcd driver's unlock_callback(D2hpci) interface unlock routine.

buscnt
total number of busses controlled by this hpcd instance.

buslist
pointer to the hpci_bus_t(D4hpci) structure that lists the busses controlled by this hpcd instance.

Usage

The hpci_hpcd_t structure is allocated and populated by the hpci_attach(D3hpci) function.

Hardware applicability

All

Version applicability

hpci: 1

References

hpci_attach(D3hpci), hpci_confupdate(D3hpci), hpci_detach(D3hpci)

``Hotplug devices'' in HDK Technical Reference
``PCI'' in HDK Technical Reference


19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005