(Page 2 of 6 in this chapter) Version
TxVpdAttach
Description:
- This function issues a virtual port attach request for the indicated virtual port.
Prototype:
- short TxVpdAttach (TX_HANDLE handle,
unsigned short vport_num,
void *userkey,
TXVPD_DPR_REQ *dprreq );
- handle TX_HANDLE returned from cpi_open.
- vport_num Virtual port number to attach to.
- userkey User-specified key (becomes vpdatchkey)
- dprreq Dual port RAM packet to be initialized and issued.
Details
- Attaching to a virtual port registers the application as the owner of the virtual port. This may or may not represent exclusive ownership of the entire resource to which the virtual port is assigned.
- A successful attach indicates that no other application had attached to the indicated virtual port. It also marks the virtual port as assigned and keeps other applications (local to the communications processor or on the host system) from attaching to the given virtual port.
See Also
- TxVpdDetach, TxVpdEnable
(Page 2 of 6 in this chapter) Version
Want to send us feedback on our documentation? Email: Tech_Pubs@nmss.com
Copyright © 2000, Natural MicroSystems, Inc. All rights
reserved.