ZCOM Tables and Data Structures

Interface Table

CARD.BSP has the following fields shown in Table 3-17.

Table 3-17

CARD.BSP Structure

 

 

 

 

 

 

Field Name

Field Description

Field Type

Size

 

 

 

(Bytes)

 

 

 

 

itxlstx

Express terminal list headers

struct[8]

8*40

 

 

 

 

itxlsta

High priority terminal list headers

struct[8]

8*40

 

 

 

 

itxlstb

Low priority terminal list headers

struct[8]

8*40

 

 

 

 

iplimit

Port unack TX limit (in bytes)

uns.int [8]

8*4

 

 

 

 

ipbytes

Port unack TX size (in bytes)

int [8]

8*4

 

 

 

 

ipstat

Port status/Subchannel status

uns.short [8]

8*2

 

 

 

 

ipcntr

Terminal count per port

uns.short [8]

8*2

 

 

 

 

iportn

Port configuration bytes

struct[8]

8*4

 

 

 

 

ifirqbp

$FIRQ reply buffer pointer

pointer

8

 

 

 

 

irespbp

Backplane response buffer pointer

pointer

8

 

 

 

 

istdtbp

$STDT reply buffer pointer

pointer

8

 

 

 

 

ifpntr

Pointer to current PTT

pointer

8

 

 

 

 

ifcmdbuf

Current backplane command buffer

uns.char [256]

256

 

 

 

 

ifirqbuf

FIRQ response buffer

uns.char [64]

64

 

 

 

 

irespbuf

Backplane response buffer

uns.char [64]

64

 

 

 

 

istdtbuf

STDT status buffer

uns.char [2048]

2048

 

 

 

 

iscratch

Scratch area for buffer alignment

uns.char [64]

64

 

 

 

 

The fields for both the card.mmp and card.bsp structures are described below. In many cases, the field names in the two structures are the same and in such cases, their function is identical. Only the number of elements in the array is different. The itxlstx through iportn fields are arrays indexed by the communication channel. For the 2/8-port ACC cards (e.g. card.bsp), each element in the array represents a physical port. For the 4-port E1/T1 ACC cards, these arrays are indexed by a combination of port and subchannel. Specifically elements 0-31 represent port 0 and subchannels 0 to 31; elements 32-63 represent port 1 and subchannels 0 to 31, etc.

84

Chapter 3

Page 84
Image 84
HP UX 11i v1 I/O Cards manual Ifirqbp