libcdio  2.1.0
Data Fields
cdio_mmc_request_sense Struct Reference

#include <mmc.h>

Data Fields

uint8_t error_code: 7
 
uint8_t valid: 1
 
uint8_t segment_number
 
uint8_t sense_key: 4
 
uint8_t reserved1: 1
 
uint8_t ili: 1
 
uint8_t eom: 1
 
uint8_t filemark: 1
 
uint8_t information [4]
 
uint8_t additional_sense_len
 
uint8_t command_info [4]
 
uint8_t asc
 
uint8_t ascq
 
uint8_t fruc
 
uint8_t sks [3]
 
uint8_t asb [46]
 

Detailed Description

Structure of a SCSI/MMC sense reply.

This has been adapted from GNU/Linux request_sense of <linux/cdrom.h> include this for direct MMC access. See SCSI Primary Commands-2 (SPC-3) table 26 page 38.

Field Documentation

◆ additional_sense_len

uint8_t cdio_mmc_request_sense::additional_sense_len

Additional sense length (n-7)

◆ asb

uint8_t cdio_mmc_request_sense::asb[46]

Additional sense bytes

◆ asc

uint8_t cdio_mmc_request_sense::asc

Additional sense code

◆ ascq

uint8_t cdio_mmc_request_sense::ascq

Additional sense code qualifier

◆ command_info

uint8_t cdio_mmc_request_sense::command_info[4]

Command-specific information

◆ eom

uint8_t cdio_mmc_request_sense::eom

end of medium. manditory in sequential access and printer devices

◆ error_code

uint8_t cdio_mmc_request_sense::error_code

◆ filemark

uint8_t cdio_mmc_request_sense::filemark

manditory in sequential access devices

◆ fruc

uint8_t cdio_mmc_request_sense::fruc

Field replaceable unit code

◆ ili

uint8_t cdio_mmc_request_sense::ili

incorrect length indicator

◆ information

uint8_t cdio_mmc_request_sense::information[4]

◆ reserved1

uint8_t cdio_mmc_request_sense::reserved1

◆ segment_number

uint8_t cdio_mmc_request_sense::segment_number

◆ sense_key

uint8_t cdio_mmc_request_sense::sense_key

◆ sks

uint8_t cdio_mmc_request_sense::sks[3]

Sense-key specific

◆ valid

uint8_t cdio_mmc_request_sense::valid

valid bit is 1 if info is valid


The documentation for this struct was generated from the following file: