scsi.h (a9d6ceb838755c24dde8a0ca02c3378926fc63db) | scsi.h (7e782af57649f8a8e943d80104c946a5cd7af7cc) |
---|---|
1/* 2 * This header file contains public constants and structures used by 3 * the scsi code for linux. 4 * 5 * For documentation on the OPCODES, MESSAGES, and SENSE values, 6 * please consult the SCSI standard. 7 */ 8#ifndef _SCSI_SCSI_H --- 444 unchanged lines hidden (view full) --- 453 * recover the link. Transport class will 454 * retry or fail IO */ 455#define DID_TRANSPORT_FAILFAST 0x0f /* Transport class fastfailed the io */ 456#define DID_TARGET_FAILURE 0x10 /* Permanent target failure, do not retry on 457 * other paths */ 458#define DID_NEXUS_FAILURE 0x11 /* Permanent nexus failure, retry on other 459 * paths might yield different results */ 460#define DID_ALLOC_FAILURE 0x12 /* Space allocation on the device failed */ | 1/* 2 * This header file contains public constants and structures used by 3 * the scsi code for linux. 4 * 5 * For documentation on the OPCODES, MESSAGES, and SENSE values, 6 * please consult the SCSI standard. 7 */ 8#ifndef _SCSI_SCSI_H --- 444 unchanged lines hidden (view full) --- 453 * recover the link. Transport class will 454 * retry or fail IO */ 455#define DID_TRANSPORT_FAILFAST 0x0f /* Transport class fastfailed the io */ 456#define DID_TARGET_FAILURE 0x10 /* Permanent target failure, do not retry on 457 * other paths */ 458#define DID_NEXUS_FAILURE 0x11 /* Permanent nexus failure, retry on other 459 * paths might yield different results */ 460#define DID_ALLOC_FAILURE 0x12 /* Space allocation on the device failed */ |
461#define DID_MEDIUM_ERROR 0x13 /* Medium error */ |
|
461#define DRIVER_OK 0x00 /* Driver status */ 462 463/* 464 * These indicate the error that occurred, and what is available. 465 */ 466 467#define DRIVER_BUSY 0x01 468#define DRIVER_SOFT 0x02 --- 114 unchanged lines hidden --- | 462#define DRIVER_OK 0x00 /* Driver status */ 463 464/* 465 * These indicate the error that occurred, and what is available. 466 */ 467 468#define DRIVER_BUSY 0x01 469#define DRIVER_SOFT 0x02 --- 114 unchanged lines hidden --- |