Driver Entry Points tranbusreset(9E)
NAME
tranbusreset - reset a SCSI bus
SYNOPSIS
#include int prefix
tranbusreset(devinfot *hbadip, int level);
INTERFACE LEVEL
Solaris DI
PARAMETERS
hbadip The devinfot pointer associated with the SCSI
HBA.
level The level of reset required.
DESCRIPTION
The tranbusreset() vector in the scsihbatran(9S) struc-
ture should be initialized during the HBA driver's
attach(9E). It is an HBA entry point to be called when a
user initiates a bus reset through device control inter-
faces.
tranbusreset() must reset the SCSI bus without resetting
targets.
level will be one of the following:
RESETBUS Reset the SCSI bus only, not the targets.
Implementation is hardware specific. If it is not possible
to reset the SCSI bus without changing the state and operat-
ing mode of the targets, the HBA driver should not initial-
ize this vector or return failure.
RETURN VALUES
tranbusreset() should return:
1 on success.
0 on failure.
SunOS 5.11 Last change: 17 Mar 1999 1
Driver Entry Points tranbusreset(9E)
ATRIBUTES
See attributes(5) for a description of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Committed
SEE ALSO
attributes(5), tranquiesce(9E), scsihbatran(9S)
SunOS 5.11 Last change: 17 Mar 1999 2
|