ACC Programmer's Reference Guide

188 Chapter4
ZCOM C I/F Library Routines
ZCONFIG (3X)
Configuration Data
header.config
ZCOM_ZCONFIG_CARD (interface configuration)
header.action
header.tag1,
header.tag2
Any values
data.setcard.iftno
Interface card number (0, 1,...)
data.setcard.bc1_addr
data.setcard.bc_addr
data.setcard.card_addr
These are the bus converter address and card address (as specified in a
TTGEN configuration file) of the new hardware. These fields are needed for
action 2and6only.
data.setcard.itype
Interface card type. This i ndicates the hardware type of the new interface
card. Currently, the types ZCOM_ITYPE_MUX, ZCOM_ITYPE_Z7200A,
ZCOM_ITYPE_Z7300A, ZCOM_ITYPE_Z7340A, ZCOM_ITYPE_Z7350A,
and ZCOM_ITTYPE_Z7400AR are supported. This fieldisneededforaction 2
only.
data.setcard.fname
Newfirmwarefilename.Thisfieldisusedforaction 1only.
ZcDSC_CHNG_FW_FILE (1) - Modify interface firmware file name
ZcDSC_CREATE_IFT (2) - Crea te a ne w interface table
ZcDSC_START_CARD (3) - Startup (e.g. restart) an interface card
ZcDSC_HALT_CARD (4) - Disable an interface
ZcDSC_STOP_CARD (5)-Shutdown(e.g.disableandflush)an
interface card
DSC_REASSIGN_IFT (6) - Link an int erface to different hardware