ACC Programmer's Reference Guide

116 Chapter3
ZCOM Tables and Data Structures
Message Header
ZCOM_SETYPE_CARD - Change in C ard Status Event
This event is generated whenever there is a change in the state of an
ACC interface card. This includes notification of firmware failures
(causes an automatic restart of the card), user initiated restarts,
hardware failures, and for those systems that support it, the on-line
addition, removal, or replacement of an ACC card. The event data is
referenced using sedata.card.<field n ame> and has the following fields:
Reason - The reason for the change in card state may be one of the
following:
ZcSE_CARD_ADDED - An ACC card has been added to the system at the
H/W path indicated by the bus_addr[] and card_addr fields
ZcSE_CARD_SUSPENDED- The operator has suspendedcard operation
in preparation for on-line replacement of the card. The iftno field
indicates which ACC card was suspended.
ZcSE_CARD_REMOVED - The ACC card indicated by the iftno fie ld has
been removed from the system and is no longer usable.
ZcSE_CARD_REPLACED - The ACC card indicated by the iftno field has
been replaced (on-line) and can now be used.
ZcSE_CARD_STOPPED - The ACC c ard indicated by the iftno field has
been halt by user request and must not be used.
ZcSE_CARD_FAILED - T he ACC card indicated by the iftno field has
been failed and is no longer usable.
Table 3-43 Change in Card Status Event (ZCOM _SETYPE_CARD)
Field Name Field Description Field Type Size
(Bytes)
reason Reason for the change in card state uns.char 1
iftno ttgen mux# (if any) uns.int 1
bus_addr_len Number of entries in bus_addr uns.int 1
bus_addr[7] Bus address path to card uns.short 7 *2
card_addr Card’s slot address uns.short 2