TMIOSTAT (Status) tmssa Device Driver ioctl Operation
Purpose
To allow the caller to put the status information for the current or previous write
operation into a structure that is defined in the /usr/include/sys/tmscsi.h file.
Description
This operation returns information about the last write operation. Because a nonblocking
write operation might still be running, you must ensure that the status information
applies to a particular write operation. The tm_get_stat structure in the
/usr/include/sys/tmscsi.h file is used to indicate the status, as follows:
status_validity
Bit 0 set, scsi_status valid
scsi_status
SC_BUSY_STATUS Write operation in progress
SC_GOOD_STATUS Write operation completed successfully
SC_CHECK_CONDITION Write operation failed
general_card_status
Unused. Set to zero.
b_error
errno for a failed write operation, or zero.
b_resid
Updated uio_resid for the write operation.
resvd1 Unused. Set to zero.
resvd2 Unused. Set to zero.
Note: The tm_get_stat structure works only for the initiator device.
Chapter 13. Using the Programming Interface
307
Содержание Advanced SerialRAID Adapters SA33-3285-02
Страница 1: ...Advanced SerialRAID Adapters User s Guide and Maintenance Information SA33 3285 02 ...
Страница 2: ......
Страница 3: ...Advanced SerialRAID Adapters User s Guide and Maintenance Information SA33 3285 02 ...
Страница 16: ...xiv User s Guide and Maintenance Information ...
Страница 18: ...xvi User s Guide and Maintenance Information ...
Страница 21: ...Part 1 User Information 1 ...
Страница 22: ...2 User s Guide and Maintenance Information ...
Страница 48: ...28 User s Guide and Maintenance Information ...
Страница 64: ...44 User s Guide and Maintenance Information ...
Страница 76: ...56 User s Guide and Maintenance Information ...
Страница 212: ...192 User s Guide and Maintenance Information ...
Страница 228: ...208 User s Guide and Maintenance Information ...
Страница 230: ...210 User s Guide and Maintenance Information ...
Страница 254: ...234 User s Guide and Maintenance Information ...
Страница 274: ...254 User s Guide and Maintenance Information ...
Страница 330: ...310 User s Guide and Maintenance Information ...
Страница 331: ...Part 2 Maintenance Information 311 ...
Страница 332: ...312 User s Guide and Maintenance Information ...
Страница 338: ...318 User s Guide and Maintenance Information ...
Страница 430: ...410 User s Guide and Maintenance Information ...
Страница 503: ...Part 3 Appendixes 483 ...
Страница 504: ...484 User s Guide and Maintenance Information ...
Страница 508: ...488 User s Guide and Maintenance Information ...
Страница 529: ......
Страница 530: ...Part Number 27H0678 Printed in the U S A SA33 3285 02 1P P N 27H0678 ...
Страница 531: ...Spine information Advanced SerialRAID Adapters User s Guide and Maintenance Information ...