Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Driver Entry Pointstran_quiesce(9e)


NAME

 tran_quiesce, tran_unquiesce - quiesce and unquiesce a SCSI bus

SYNOPSIS

 
#include <sys/scsi/scsi.h>
int prefixtran_quiesce(dev_info_t *hba_dip);
 int prefixtran_unquiesce(dev_info_t *hba_dip);

INTERFACE LEVEL

 

Solaris DDI

PARAMETERS

 
hba_dip
The dev_info_t pointer associated with the SCSI HBA.

DESCRIPTION

 

The tran_quiesce() and tran_unquiesce() vectors in the scsi_hba_tran(9S) structure should be initialized during the HBA driver's attach(9E). They are HBA entry points to be called when a user initiates quiesce and unquiesce operations through device control interfaces.

tran_quiesce() should wait for all outstanding commands to complete and blocks (or queues) any I/O requests issued. tran_unquiesce() should allow I/O activities to resume on the SCSI bus.

Implementation is hardware specific.

RETURN VALUES

 

tran_quiesce() and tran_unquiesce() should return:

1
on success.
0
on failure.

ATTRIBUTES

 

See attributes(5) for a description of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
Stability LevelEvolving

SEE ALSO

 

attributes(5), tran_bus_reset(9E), scsi_hba_tran(9S)


SunOS 5.9Go To TopLast Changed 31 Jan 1999

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.