Data Structures | |
struct | sbc_caching_mode_page |
SBC-2 Caching mode page. More... | |
struct | sbc_rdwr_error_recovery_mode_page |
SBC-2 Read-Write Error Recovery mode page. More... | |
struct | sbc_slba_block_desc |
SBC-2 Short LBA mode parameter block descriptor. More... | |
SCSI commands defined by SBC-2 | |
#define | SBC_FORMAT_UNIT 0x04 |
#define | SBC_READ6 0x08 |
#define | SBC_WRITE6 0x0A |
#define | SBC_START_STOP_UNIT 0x1B |
#define | SBC_READ_CAPACITY10 0x25 |
#define | SBC_READ10 0x28 |
#define | SBC_WRITE10 0x2A |
#define | SBC_VERIFY10 0x2F |
SBC-2 Mode page definitions | |
enum | scsi_sbc_mode { SCSI_MS_MODE_RW_ERR_RECOV = 0x01, SCSI_MS_MODE_FORMAT_DEVICE = 0x03, SCSI_MS_MODE_FLEXIBLE_DISK = 0x05, SCSI_MS_MODE_CACHING = 0x08 } |
SBC-2 Device-Specific Parameter | |
#define | SCSI_MS_SBC_WP 0x80 |
Write Protected. More... | |
#define | SCSI_MS_SBC_DPOFUA 0x10 |
DPO and FUA supported. More... | |
#define SBC_FORMAT_UNIT 0x04 |
#define SBC_READ10 0x28 |
Referenced by udi_msc_cbw_received().
#define SBC_READ6 0x08 |
#define SBC_READ_CAPACITY10 0x25 |
Referenced by udi_msc_cbw_received().
#define SBC_START_STOP_UNIT 0x1B |
Referenced by udi_msc_cbw_received().
#define SBC_VERIFY10 0x2F |
Referenced by udi_msc_cbw_received().
#define SBC_WRITE10 0x2A |
Referenced by udi_msc_cbw_received().
#define SBC_WRITE6 0x0A |
#define SCSI_MS_SBC_DPOFUA 0x10 |
DPO and FUA supported.
#define SCSI_MS_SBC_WP 0x80 |
Write Protected.
Referenced by udi_msc_spc_mode_sense().
enum scsi_sbc_mode |