![](/images/backgrounds/292713/hp-hp-ux-11i-v2-i-o-cards-reference-guide-152766192x1.png)
ZCOM C I/F Library Routines
ZCONFIG (3X)
| This is the node number of the remote (or local) ZCOM |
| system where the configuration is to take place. If zero |
| is specified, it is the local system. Note that the node |
| parameter must specify the local system with this |
| release (except for the Port Configuration functions) |
cdata | Configuration data. |
| This points to a data structure containing all the |
| information necessary for the configuration. See below |
| for a description of this structure. |
rdata
(Return Param) Response data.
This points to a data structure containing the returned configuration response data. It is returned with valid data only when it is an immediate configuration (mode ZcDSC_IMMEDIATE) and zconfig returns with zero (i.e. no error). See the following for a description of this structure.
Configuration Data The configuration data structure consists of a header and a “union” data portion for configuration information
/* Configuration Header */ |
| ||
typedef struct { |
|
| |
uint16 | config; | /* Type of configuration */ | |
uint16 | action; | /* Configuration action */ | |
uint16 | tag1; | /* Tag parameter 1 */ | |
uint16 | tag2; | /* Tag parameter 2 */ | |
} zcfghdr_type; |
|
| |
/* Configuration Data */ |
|
| |
typedef struct { |
|
| |
zcfghdr_type | header; | /* Header Information */ | |
union { |
|
|
|
struct { |
|
| |
| uint32 | cfg_class; | /* Class of Reconfig |
| uint32 | cfg_info1; | /* Caller supplied information. */ |
} setctl; |
| /* Request = DSC Control */ | |
struct { |
|
| |
| char | sysname[80]; /* New ZCOM system name */ | |
| uint32 | qlimit; | /* Queue limit */ |
} setsys; |
|
| |
struct { |
|
| |
| uint16 | iftno; | /* Interface card number */ |
| uint8 | bc1_addr; | /* 1st level bus converter addr */ |
| uint8 | bc_addr; | /* Bus converter addr of hardware */ |
192 | Chapter 4 |