libcdio  1.1.0rc1
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

uint8_t cdio_mmc_request_sense::additional_sense_len

Additional sense length (n-7)

uint8_t cdio_mmc_request_sense::asb[46]

Additional sense bytes

uint8_t cdio_mmc_request_sense::asc

Additional sense code

uint8_t cdio_mmc_request_sense::ascq

Additional sense code qualifier

uint8_t cdio_mmc_request_sense::command_info[4]

Command-specific information

uint8_t cdio_mmc_request_sense::eom

end of medium. manditory in sequential access and printer devices

uint8_t cdio_mmc_request_sense::error_code
uint8_t cdio_mmc_request_sense::filemark

manditory in sequential access devices

uint8_t cdio_mmc_request_sense::fruc

Field replaceable unit code

uint8_t cdio_mmc_request_sense::ili

incorrect length indicator

uint8_t cdio_mmc_request_sense::information[4]
uint8_t cdio_mmc_request_sense::reserved1
uint8_t cdio_mmc_request_sense::segment_number
uint8_t cdio_mmc_request_sense::sense_key
uint8_t cdio_mmc_request_sense::sks[3]

Sense-key specific

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: