ZCOM Tables and Data Structures

Message Header

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 name> and has the following fields:

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

 

 

 

 

 

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 suspended card 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 field 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 card indicated by the iftno field has been halt by user request and must not be used.

ZcSE_CARD_FAILED - The ACC card indicated by the iftno field has been failed and is no longer usable.

ZcSE_CARD_USER_RESTART - The ACC card indicated by the iftno field is being restarted by user request and must not be used until a ZcSE_CARD_RESTRT_CMPLT event is received.

122

Chapter 3