TYPES OF CONFIGURATION FUNCTION

ZCOM C I/F Library Routines

ZCONFIG (3X)

DSC Control

The DSC control function is to provide global control and status on the access of DSC functions. There are 3 DSC control actions.

Action ZcENABLE_DSC(1) is to enable the DSC access after it has been disabled. By default, the DSC access is enabled when ZCOM system is started up.

Action ZcDISABLE_DSC(2) is to disable DSC access. When disabled, local processes attempting DSC functions will be suspended. For DSC requests from remote system, ZCOM error -41 (ZEDSCLOCK, DSC function is disabled) is returned.

Action ZcDSC_SEND_RECFG(3) is used to broadcast a “Reconfiguration Complete” system event message to all interested programs and protocol drivers. This action should only be used after completing all zconfig() calls to dynamically reconfigure the ZCOM subsystem. Any process or protocol driver which has previously called the ZCOM zevent_rcvr() routine will be notified with a system event message. A dynamic reconfiguration complete event message returns an event type of

ZCOM_SETYPE_RECONFIG.

Configuration Data

header.config

ZCOM_ZCONFIG_CNTL (DSC Control)

header.action

ZcENABLE_DSC

(1)

- Enable DSC access

ZcDISABLE_DSC

(2)

- Disable DSC access

ZcDSC_SEND_RECFG

(3)

- Broadcast reconfiguration

complete system event message.

header.tag1,

header.tag2 Any values.

184

Chapter 4

Page 184
Image 184
HP UX 11i v1 I/O Cards DSC Control, Configuration Data, Header.config, Header.action, Header.tag1 Header.tag2 Any values