DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

hpci_bus_t(D4hpci)


hpci_bus_t -- information about the hotplug controller bus

Syntax

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

Description

Structure definition

The hpci_bus_t structure contains the following members:
   hpci_bus_t   *next;
   int                bustype;
   int                busid;
   rm_key_t           hpcd_rmkey;
   union {
          hpci_pci_bus_info_t       pcibus;
          char                      filler[32];
   } hpci_bus_udata;
   

int socket_cnt; hpci_socket_t socket_list;

The hpci_pci_bus_info_t structure contains the following members:
           int     pci_busnum;
   

ushort_t runningSpeed; ushort_t maxSpeed;

The hpci_socket_t structure contains the following members:
           hpci_socket_t *next;
           hpci_socket_info_t       info;

Structure members

The members of the hpci_bus_t structure are defined as:

next
Pointer to the next bus in the list.

bustype
Type of bus. Use the values defined for the CM_BRDBUSTYPE parameter documented on the cm_params(D5) manual page.

busid
ID of this bus, assigned by the Hot-plug Controller Driver. For PCI buses, assigned to be the PCI bus number.

hpcd_rmkey
Resource manager key of this Hot-plug Controller Dirver instance.

pcibus
Specific information about the PCI bus.

filler
Reserved space for future expansion.

socket_cnt
Number of hot-plug capable sockets attached to this bus.

socket_list
Socket information for the sockets connected to this bus.

The members of the hpci_pci_bus_info_t structure are defined as:


pci_busnum
The PCI bus number.

runningSpeed
The speed at which the bus is currently running, expressed in Mhz. For example, 33 means 33Mhz and 66 means 66 Mhz.

maxSpeed
Maximum speed at which the bus can run.

The members of the hpci_socket_t structure are defined as:


next
Next socket in the list, assigned by the hpcd driver.

info
The socket information, assigned by the hpcd driver.

Usage

The hpci_bus_t structure is allocated and populated by the HPCD driver.

Hardware applicability

All

Version applicability

hpci: 1

References

cm_params(D5)

``Hotplug devices'' in HDK Technical Reference
``Bus'' 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