DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5

mdi_tx_if_enable(D3mdi)


mdi_tx_if_enable -- enable an MDI MP-aware lock structure

Synopsis

   #include <sys/types.h>
   #include <sys/stream.h>
   #include <sys/stropt.h>
   #include <sys/mdi.h>
   #include <sys/ddi.h>
   

void mdi_tx_if_enable(mdi_tx_if_t *txinit, queue_t *q);

Description

mdi_tx_if_enable( )

Arguments


txinit
pointer to the mdi_tx_if_t structure returned by the mdi_tx_if_init(D3mdi) function.

q
pointer to the driver's write queue

Return values

None

Usage

This function is typically called from the driver's open(D2mdi) routine to enable an MDI MP-aware lock structure that was initialized by the mdi_tx_if_init(D3mdi) function. mdi_tx_if_enable( ) copies the q pointer into the mdi_tx_if_t structure; a non-NULL q pointer here enables processing with this lock structure.

Context and synchronization

Blockable context

Hardware applicability

All

Version applicability

mdi: 2, 2.1

Differences between versions

This function is not supported in MDI on SCO OpenServer systems.

References

mdi_tx_if(D3mdi), mdi_tx_if_deinit(D3mdi), mdi_tx_if_disable(D3mdi), mdi_tx_if_enable(D3mdi), mdi_tx_if_init(D3mdi)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005