HP UX 11i v1 I/O Cards manual Data.setport.qlimit, Data.portret.iftno Data.portret.portno

Models: UX 11i v1 I/O Cards

1 298
Download 298 pages 31.75 Kb
Page 196
Image 196

ZCOM C I/F Library Routines

ZCONFIG (3X)

data.setport.qlimit

New port limit (in bytes). This field is for action ZcDSC_SET_XMIT_LIMIT only.

Response Data

data.portret.iftno

data.portret.portno

These are the interface and port numbers as supplied in the original configuration data (request). They indicate the interface and port whose configuration has been modified.

data.portret.status

Completion status returned from port configuration:

PT_OK

PT_INV_PORT PT_BAD_PARM PT_NOT_DSBL PT_BAD_BAUD PT_ILL_SCLK PT_ILL_PMODE PT_BAD_PORT PT_NO_BREAK PT_BAD_XCLK

PT_NO_PLL PT_TOO_FAST

<0 - Standard ZCOM error.

(0)- No error (successful).

(1)- Port number out of range.

(2)- Bad parameter.

(3)- Some terminals on this port not disabled.

(4)- Bad baud rate.

(5)- Illegal clock source.

(6)- Illegal port mode.

(7)- Port failed self test.

(8)- BREAK routine not available.

(9)- Clock multiplier not compatible with configuration mode.

(10)- No DPLL available at this baud rate.

(11)- Async mode not valid for baud > 38400.

The error or status message text may be fetched using zcomstatus (3X) with req = ZCOM_MRQCODE_PORT (or 14) and the return status. Note that status codes PT_BAD_BAUD, PT_ILL_SCLK, PT_ILL_PMODE, and PT_BAD_PORT imply the associated port is now inoperative. Another port configuration request must be performed to recover it.

196

Chapter 4

Page 196
Image 196
HP UX 11i v1 I/O Cards manual Data.setport.qlimit, Data.portret.iftno Data.portret.portno, Data.portret.status