HP UX 11i v1 I/O Cards manual

Models: UX 11i v1 I/O Cards

1 298
Download 298 pages 31.75 Kb
Page 181
Image 181

 

 

 

ZCOM C I/F Library Routines

 

 

 

ZCONFIG (3X)

uint8

bc1_addr;

/* 1st level bus converter addr */

uint8

bc_addr;

/* Bus converter addr of hardware */

uint16

card_addr;

/* Card address of new hardware */

uint16

itype;

/* Interface card type */

char

fname[ZCOM_MAXFNAME];

/* Firmware filename */

} setcard;

 

/* Request=Interface Configuration */

struct {

 

 

 

uint16

iftno;

/* Interface card number */

uint8

bc1_addr;

/* 1st level bus converter addr */

uint16

bc_addr;

/* Bus converter addr of hardware */

uint16

card_addr;

/* Card address of new hardware */

uint16

itype;

/* Interface card type */

zcfg_lookup_t cfglt;

/* Configuration lookup table info */

char

fname[ZCOM_MAXFNAME];

/* Firmware filename */

} setcard_mmp;

 

/* Request=Interface Configuration */

 

 

/* For Multi-msg BP protocol. */

struct {

 

 

 

uint16

iftno;

/* Interface card number */

uint16

portno;

/* Port number */

uint16

rcode;

/* Request code */

uint16

spare;

/* Reserved, not used */

zpconf_type

cnfg;

/* Port configuration word */

uint32

qlimit;

/* Port tx limit */

} setport;

 

/* Request = Port Configuration */

struct {

 

 

 

zaddr_type

zaddr;

/* Terminal ZLU */

zaddr_type

daddr;

/* Destination terminal ZLU */

uint16

iftno;

/* Interface card number */

uint16

portno;

/* Port number */

uint16

subchno;

/* Subchannel number */

uint16

dtype;

/* Terminal device type */

uint16

ltype;

/* Logical terminal type */

zltt_type

ltt;

/* Logical terminal data */

zptt_type

ptt;

/* Physical terminal data */

} setterm;

 

/* Request=Terminal Configuration */

struct {

 

 

 

uint16

iftno;

/* Interface card number */

uint16

portno;

/* Port number */

uint16

subchno;

/* 1/4 Subchannel number */

uint16

rcode;

/* Request code */

zptcfg_t

*ptcfg;

/* Ptr to port & subch config data */

uint32

len;

/* Lgth (bytes) of ptcfg->ptinfo */

unit32

qlimit;

/* Port transmit limit */

} setportsc;

 

/* Request = Port Sub-Chan Config. */

} data;

} zconfig_type;

The header specifies the configuration. It is returned without change in the response data, and may be used by the caller to identify a configuration request.

Chapter 4

181

Page 181
Image 181
HP UX 11i v1 I/O Cards manual