smartmontools SVN Rev 5640
Utility to control and monitor storage systems with "S.M.A.R.T."
|
#include <sys/cpt.h>
#include <sys/types.h>
#include <stdio.h>
#include <fcntl.h>
#include <gulliver.h>
#include <sys/dcmd_cam.h>
#include <sys/cam_device.h>
#include "atacmds.h"
Go to the source code of this file.
Classes | |
struct | _drive_attribute |
struct | _ata_pass_thru |
struct | _scsi_sense |
struct | _scsi_sense_descriptor |
struct | _scsi_sense_desriptor_header |
struct | _ata_status_descriptor |
union | _cdb |
struct | _cdb::_format_unit |
struct | _cdb::_format_unit_old |
struct | _cdb::_mode_sense10 |
struct | _cdb::_ata_pass_thru |
struct | _ata_sense |
Typedefs | |
typedef struct _ata_pass_thru | ATA_PASS_THRU |
typedef struct _eide_identify | EIDE_IDENTIFY |
typedef struct _ata_sense | ATA_SENSE |
typedef void | CCB |
typedef struct _drive_attribute | DRIVE_ATTRIBUTE |
typedef struct _scsi_sense | SCSI_SENSE |
typedef struct _scsi_sense_descriptor | SCSI_SENSE_DESCRIPTOR |
typedef struct _scsi_sense_desriptor_header | SCSI_SENSE_DESCRIPTOR_HEADER |
typedef struct _ata_status_descriptor | ATA_STATUS_DESCRIPTOR |
typedef union _cdb | CDB |
Variables | |
struct _ata_pass_thru | ata_pass_thru_ |
#define ASC_ATA_PASS_THRU 0x00 |
Definition at line 208 of file os_qnxnto.h.
#define ASC_BUS_RESET 0x29 |
Definition at line 247 of file os_qnxnto.h.
#define ASC_COMMAND_SEQUENCE_ERROR 0x2c |
Definition at line 240 of file os_qnxnto.h.
#define ASC_COPY_PROTECTION 0x6f |
Definition at line 243 of file os_qnxnto.h.
#define ASC_ILLEGAL_MODE 0x64 |
Definition at line 242 of file os_qnxnto.h.
#define ASC_INCOMPATIBLE_MEDIUM 0x64 |
Definition at line 229 of file os_qnxnto.h.
#define ASC_INSUFFICIENT_TIME_FOR_OPERATION 0x2e |
Definition at line 248 of file os_qnxnto.h.
#define ASC_INTERNAL_TARGET_FAILURE 0x44 |
Definition at line 232 of file os_qnxnto.h.
#define ASC_INVALID_COMMAND 0x20 |
Definition at line 237 of file os_qnxnto.h.
#define ASC_INVALID_FIELD 0x24 |
Definition at line 238 of file os_qnxnto.h.
#define ASC_INVALID_FIELD_PARAMETER 0x26 |
Definition at line 239 of file os_qnxnto.h.
#define ASC_MEDIA_FORMAT 0x30 |
Definition at line 220 of file os_qnxnto.h.
#define ASC_MEDIA_LOAD_EJECT_FAILURE 0x53 |
Definition at line 233 of file os_qnxnto.h.
#define ASC_MEDIA_NOT_PRESENT 0x3a |
Definition at line 221 of file os_qnxnto.h.
#define ASC_MEDIUM_CHANGED 0x28 |
Definition at line 246 of file os_qnxnto.h.
#define ASC_NO_SEEK_COMPLETE 0x02 |
Definition at line 212 of file os_qnxnto.h.
#define ASC_NOT_CONFIGURED 0x3e |
Definition at line 222 of file os_qnxnto.h.
#define ASC_NOT_READY 0x04 |
Definition at line 213 of file os_qnxnto.h.
#define ASC_OPERATOR_REQUEST 0x5a |
Definition at line 249 of file os_qnxnto.h.
#define ASC_RECORD_NOT_FOUND 0x14 |
Definition at line 226 of file os_qnxnto.h.
#define ASC_UNABLE_TO_RECOVER_TOC 0x57 |
Definition at line 228 of file os_qnxnto.h.
#define ASC_UNRECOVERABLE_READ_ERROR 0x11 |
Definition at line 225 of file os_qnxnto.h.
#define ASC_WRITE_PROTECTED 0x27 |
Definition at line 253 of file os_qnxnto.h.
#define ASCQ_ATA_PASS_THRU_INFO_AVAIL 0x1d |
Definition at line 209 of file os_qnxnto.h.
#define ASCQ_BECOMING_READY 0x01 |
Definition at line 215 of file os_qnxnto.h.
#define ASCQ_BOPM_DETECTED 0x04 |
Definition at line 205 of file os_qnxnto.h.
#define ASCQ_CAUSE_NOT_REPORTABLE 0x00 |
Definition at line 214 of file os_qnxnto.h.
#define ASCQ_EOPM_DETECTED 0x02 |
Definition at line 203 of file os_qnxnto.h.
#define ASCQ_FILEMARK_DETECTED 0x01 |
Definition at line 202 of file os_qnxnto.h.
#define ASCQ_FORMAT_IN_PROGRESS 0x04 |
Definition at line 218 of file os_qnxnto.h.
#define ASCQ_INIT_COMMAND_REQUIRED 0x02 |
Definition at line 216 of file os_qnxnto.h.
#define ASCQ_MANUAL_INTERVENTION_REQUIRED 0x03 |
Definition at line 217 of file os_qnxnto.h.
#define ASCQ_OPERATOR_MEDIUM_REMOVAL 0x01 |
Definition at line 250 of file os_qnxnto.h.
#define ASCQ_READ_SCRAMBLED 0x03 |
Definition at line 241 of file os_qnxnto.h.
#define ASCQ_RECORD_NOT_FOUND 0x01 |
Definition at line 227 of file os_qnxnto.h.
#define ASCQ_SETMARK_DETECTED 0x03 |
Definition at line 204 of file os_qnxnto.h.
#define ASCQ_UNKNOWN_CHANGED 0xff |
Definition at line 219 of file os_qnxnto.h.
#define ASCQ_UNRECOVERABLE_CIRC 0x06 |
Definition at line 234 of file os_qnxnto.h.
#define ATA_FLG_BYT_BLOK 0x04 |
Definition at line 754 of file os_qnxnto.h.
#define ATA_FLG_BYT_BLOK 0x04 |
Definition at line 754 of file os_qnxnto.h.
#define ATA_FLG_CK_COND 0x20 |
Definition at line 752 of file os_qnxnto.h.
#define ATA_FLG_CK_COND 0x20 |
Definition at line 752 of file os_qnxnto.h.
#define ATA_FLG_T_DIR 0x08 |
Definition at line 753 of file os_qnxnto.h.
#define ATA_FLG_T_DIR 0x08 |
Definition at line 753 of file os_qnxnto.h.
#define ATA_FLG_TLEN_FEATURE 0x01 |
Definition at line 757 of file os_qnxnto.h.
#define ATA_FLG_TLEN_FEATURE 0x01 |
Definition at line 757 of file os_qnxnto.h.
#define ATA_FLG_TLEN_SECTOR_COUNT 0x02 |
Definition at line 756 of file os_qnxnto.h.
#define ATA_FLG_TLEN_SECTOR_COUNT 0x02 |
Definition at line 756 of file os_qnxnto.h.
#define ATA_FLG_TLEN_STPSIU 0x03 |
Definition at line 755 of file os_qnxnto.h.
#define ATA_FLG_TLEN_STPSIU 0x03 |
Definition at line 755 of file os_qnxnto.h.
#define ATA_MCOUNT_MSK 0xe0 |
Definition at line 750 of file os_qnxnto.h.
#define ATA_MCOUNT_MSK 0xe0 |
Definition at line 750 of file os_qnxnto.h.
#define ATA_PROTO_DATA_NONE (3 << 1) |
Definition at line 745 of file os_qnxnto.h.
#define ATA_PROTO_DATA_NONE (3 << 1) |
Definition at line 745 of file os_qnxnto.h.
#define ATA_PROTO_DEVICE_DIAGNOSTIC (8 << 1) |
Definition at line 740 of file os_qnxnto.h.
#define ATA_PROTO_DEVICE_DIAGNOSTIC (8 << 1) |
Definition at line 740 of file os_qnxnto.h.
#define ATA_PROTO_DEVICE_RESET (9 << 1) |
Definition at line 739 of file os_qnxnto.h.
#define ATA_PROTO_DEVICE_RESET (9 << 1) |
Definition at line 739 of file os_qnxnto.h.
#define ATA_PROTO_DMA (6 << 1) |
Definition at line 742 of file os_qnxnto.h.
#define ATA_PROTO_DMA (6 << 1) |
Definition at line 742 of file os_qnxnto.h.
#define ATA_PROTO_DMA_QUEUED (7 << 1) |
Definition at line 741 of file os_qnxnto.h.
#define ATA_PROTO_DMA_QUEUED (7 << 1) |
Definition at line 741 of file os_qnxnto.h.
#define ATA_PROTO_EXTEND 0x01 |
Definition at line 748 of file os_qnxnto.h.
#define ATA_PROTO_EXTEND 0x01 |
Definition at line 748 of file os_qnxnto.h.
#define ATA_PROTO_FPDMA (12 << 1) |
Definition at line 736 of file os_qnxnto.h.
#define ATA_PROTO_FPDMA (12 << 1) |
Definition at line 736 of file os_qnxnto.h.
#define ATA_PROTO_HRST (0 << 1) |
Definition at line 747 of file os_qnxnto.h.
#define ATA_PROTO_HRST (0 << 1) |
Definition at line 747 of file os_qnxnto.h.
#define ATA_PROTO_MSK 0x1e |
Definition at line 734 of file os_qnxnto.h.
#define ATA_PROTO_MSK 0x1e |
Definition at line 734 of file os_qnxnto.h.
#define ATA_PROTO_PIO_DATA_IN (4 << 1) |
Definition at line 744 of file os_qnxnto.h.
#define ATA_PROTO_PIO_DATA_IN (4 << 1) |
Definition at line 744 of file os_qnxnto.h.
#define ATA_PROTO_PIO_DATA_OUT (5 << 1) |
Definition at line 743 of file os_qnxnto.h.
#define ATA_PROTO_PIO_DATA_OUT (5 << 1) |
Definition at line 743 of file os_qnxnto.h.
#define ATA_PROTO_RESPONSE (15 << 1) |
Definition at line 735 of file os_qnxnto.h.
#define ATA_PROTO_RESPONSE (15 << 1) |
Definition at line 735 of file os_qnxnto.h.
#define ATA_PROTO_SRST (1 << 1) |
Definition at line 746 of file os_qnxnto.h.
#define ATA_PROTO_SRST (1 << 1) |
Definition at line 746 of file os_qnxnto.h.
#define ATA_PROTO_UDMA_DATA_IN (10 << 1) |
Definition at line 738 of file os_qnxnto.h.
#define ATA_PROTO_UDMA_DATA_IN (10 << 1) |
Definition at line 738 of file os_qnxnto.h.
#define ATA_PROTO_UDMA_DATA_OUT (11 << 1) |
Definition at line 737 of file os_qnxnto.h.
#define ATA_PROTO_UDMA_DATA_OUT (11 << 1) |
Definition at line 737 of file os_qnxnto.h.
#define ATA_SD_DLEN 0x0c |
Definition at line 180 of file os_qnxnto.h.
#define ATA_SD_FLG_EXTEND 0x01 |
Definition at line 182 of file os_qnxnto.h.
#define ATA_SMART_LBA_HI_SIG 0xc2 |
Definition at line 66 of file os_qnxnto.h.
#define ATA_SMART_LBA_MID_SIG 0x4f |
Definition at line 65 of file os_qnxnto.h.
#define ATA_SMART_SIG 0xc24f |
Definition at line 67 of file os_qnxnto.h.
#define CAM_FAILURE 1 /* For signaling general failure */ |
Definition at line 56 of file os_qnxnto.h.
#define CAM_FALSE 0 /* General purpose flag value */ |
Definition at line 58 of file os_qnxnto.h.
#define CAM_SUCCESS 0 /* For signaling general success */ |
Definition at line 55 of file os_qnxnto.h.
#define CAM_TRUE 1 /* General purpose flag value */ |
Definition at line 59 of file os_qnxnto.h.
#define CD_FRAME_AUX_SIZE 8 |
Definition at line 684 of file os_qnxnto.h.
#define CD_FRAME_BLOCK_ERR_SIZE 2 |
Definition at line 688 of file os_qnxnto.h.
#define CD_FRAME_C2_ERR_SIZE 294 |
Definition at line 687 of file os_qnxnto.h.
#define CD_FRAME_ECC_SIZE 276 |
Definition at line 683 of file os_qnxnto.h.
#define CD_FRAME_EDC_SIZE 4 |
Definition at line 682 of file os_qnxnto.h.
#define CD_FRAME_HDR_SIZE 4 |
Definition at line 680 of file os_qnxnto.h.
#define CD_FRAME_SPARE_SIZE 4 |
Definition at line 686 of file os_qnxnto.h.
#define CD_FRAME_SUB_HDR_SIZE 8 |
Definition at line 681 of file os_qnxnto.h.
#define CD_FRAME_SYNC_SIZE 12 |
Definition at line 679 of file os_qnxnto.h.
#define CD_FRAME_ZERO_SIZE 8 |
Definition at line 685 of file os_qnxnto.h.
#define CD_SCAN_DIR_FORWARD 0x00 |
Definition at line 553 of file os_qnxnto.h.
#define CD_SCAN_DIR_REVERSE 0x10 |
Definition at line 554 of file os_qnxnto.h.
#define CD_SCAN_TYPE_LBA 0x00 |
Definition at line 557 of file os_qnxnto.h.
#define CD_SCAN_TYPE_MSF 0x40 |
Definition at line 558 of file os_qnxnto.h.
#define CD_SCAN_TYPE_MSK 0xc0 |
Definition at line 560 of file os_qnxnto.h.
#define CD_SCAN_TYPE_TRK 0x80 |
Definition at line 559 of file os_qnxnto.h.
#define CF_DPO 0x10 |
Definition at line 273 of file os_qnxnto.h.
#define CF_FLAG 0x02 |
Definition at line 268 of file os_qnxnto.h.
#define CF_FUA 0x08 |
Definition at line 272 of file os_qnxnto.h.
#define CF_LINK 0x01 |
Definition at line 267 of file os_qnxnto.h.
#define CF_VENDOR0 0x40 |
Definition at line 269 of file os_qnxnto.h.
#define CF_VENDOR1 0x80 |
Definition at line 270 of file os_qnxnto.h.
#define ERASE_OPT_LONG 0x01 |
Definition at line 778 of file os_qnxnto.h.
#define EXCHANGE_CMD_LOEJ 0x02 |
Definition at line 604 of file os_qnxnto.h.
#define EXCHANGE_CMD_START 0x01 |
Definition at line 603 of file os_qnxnto.h.
#define EXCHANGE_OPT_IMMED 0x01 |
Definition at line 599 of file os_qnxnto.h.
#define FM_FMT_DFLT 0x00 |
Definition at line 865 of file os_qnxnto.h.
#define FM_FMT_FORMAT_PARTITION 0x02 |
Definition at line 867 of file os_qnxnto.h.
#define FM_FMT_PARTITION 0x01 |
Definition at line 866 of file os_qnxnto.h.
#define FM_OPT_IMMED 0x01 |
Definition at line 862 of file os_qnxnto.h.
#define FM_OPT_VERIFY 0x02 |
Definition at line 863 of file os_qnxnto.h.
#define FMT_CERT 0x01 |
Definition at line 335 of file os_qnxnto.h.
#define FMT_HEAD 0x04 |
Definition at line 333 of file os_qnxnto.h.
#define FMT_IMMED 0x08 |
Definition at line 332 of file os_qnxnto.h.
#define FMT_RSVD3 0x80 |
Definition at line 330 of file os_qnxnto.h.
#define FMT_SECT_SIZE_CD 0x70 |
Definition at line 331 of file os_qnxnto.h.
#define FMT_ST 0x02 |
Definition at line 334 of file os_qnxnto.h.
#define FU_CMPLIST 0x08 |
Definition at line 316 of file os_qnxnto.h.
#define FU_FMTDAT 0x10 |
Definition at line 315 of file os_qnxnto.h.
#define FU_RSVD0 0xc0 |
Definition at line 314 of file os_qnxnto.h.
#define GE_OPT_POLLED 0x01 |
Definition at line 628 of file os_qnxnto.h.
#define INQLEN 36 /* Inquiry string length to store. */ |
Definition at line 53 of file os_qnxnto.h.
#define LD_CMD_EJECT 0x02 |
Definition at line 468 of file os_qnxnto.h.
#define LD_CMD_LOAD 0x03 |
Definition at line 469 of file os_qnxnto.h.
#define LD_CMD_LOEJ 0x02 |
Definition at line 466 of file os_qnxnto.h.
#define LD_CMD_PC_ACTIVE 1 |
Definition at line 480 of file os_qnxnto.h.
#define LD_CMD_PC_IDLE 2 |
Definition at line 481 of file os_qnxnto.h.
#define LD_CMD_PC_MSK 0xf0 |
Definition at line 478 of file os_qnxnto.h.
#define LD_CMD_PC_NC 0 |
Definition at line 479 of file os_qnxnto.h.
#define LD_CMD_PC_SLEEP 5 |
Definition at line 483 of file os_qnxnto.h.
#define LD_CMD_PC_STANDBY 3 |
Definition at line 482 of file os_qnxnto.h.
#define LD_CMD_SA_EOT 0x04 |
Definition at line 473 of file os_qnxnto.h.
#define LD_CMD_SA_HOLD 0x08 |
Definition at line 472 of file os_qnxnto.h.
#define LD_CMD_SA_LOEJ 0x01 |
Definition at line 475 of file os_qnxnto.h.
#define LD_CMD_SA_RT 0x02 |
Definition at line 474 of file os_qnxnto.h.
#define LD_CMD_START 0x01 |
Definition at line 465 of file os_qnxnto.h.
#define LD_CMD_STOP 0x00 |
Definition at line 467 of file os_qnxnto.h.
#define LD_OPT_IMMED 0x01 |
Definition at line 461 of file os_qnxnto.h.
#define LOCATE_OPT_BT 0x4 |
Definition at line 787 of file os_qnxnto.h.
#define LOCATE_OPT_CP 0x2 |
Definition at line 786 of file os_qnxnto.h.
#define LS_OPT_PCR 0x02 |
Definition at line 397 of file os_qnxnto.h.
#define LS_OPT_SP 0x01 |
Definition at line 396 of file os_qnxnto.h.
#define LS_PC_CUR_CUMULATIVE 0x01 |
Definition at line 400 of file os_qnxnto.h.
#define LS_PC_CUR_THRESHOLD 0x00 |
Definition at line 399 of file os_qnxnto.h.
#define LS_PC_DFLT_CUMULATIVE 0x03 |
Definition at line 402 of file os_qnxnto.h.
#define LS_PC_DFLT_THRESHOLD 0x02 |
Definition at line 401 of file os_qnxnto.h.
#define MSEL_OPT_PF 0x10 |
Definition at line 371 of file os_qnxnto.h.
#define MSEL_OPT_SP 0x01 |
Definition at line 372 of file os_qnxnto.h.
#define MSNS_OPT_DBD 0x08 |
Definition at line 414 of file os_qnxnto.h.
#define NCR_DEVICE_BUSY 0x40 |
Definition at line 637 of file os_qnxnto.h.
#define NCR_EXTERNAL_REQUEST 0x08 |
Definition at line 634 of file os_qnxnto.h.
#define NCR_MEDIA 0x10 |
Definition at line 635 of file os_qnxnto.h.
#define NCR_MULTI_INITIATOR 0x20 |
Definition at line 636 of file os_qnxnto.h.
#define NCR_OPERATIONAL_CHANGE 0x02 |
Definition at line 632 of file os_qnxnto.h.
#define NCR_POWER_MANAGEMENT 0x04 |
Definition at line 633 of file os_qnxnto.h.
#define OS_QNXNTO_H_CVSID "$Id: os_qnxnto.h 4761 2018-08-20 19:33:04Z chrfranke $\n" |
Definition at line 13 of file os_qnxnto.h.
#define PC_CHANGEABLE 0x40 |
Definition at line 417 of file os_qnxnto.h.
#define PC_CURRENT 0x00 |
Definition at line 416 of file os_qnxnto.h.
#define PC_DEFAULT 0x80 |
Definition at line 418 of file os_qnxnto.h.
#define PC_MSK 0xC0 |
Definition at line 420 of file os_qnxnto.h.
#define PC_SAVED 0xC0 |
Definition at line 419 of file os_qnxnto.h.
#define RD_OPT_MEDIA 0x01 |
Definition at line 853 of file os_qnxnto.h.
#define RDCD_EST_ANY_SECTOR (0 << 2) |
Definition at line 694 of file os_qnxnto.h.
#define RDCD_EST_CDDA_SECTOR (1 << 2) |
Definition at line 695 of file os_qnxnto.h.
#define RDCD_EST_MSK (7 << 2) |
Definition at line 700 of file os_qnxnto.h.
#define RDCD_EST_XA_FORM2_SECTOR (5 << 2) |
Definition at line 699 of file os_qnxnto.h.
#define RDCD_EST_XA_SECTOR (4 << 2) |
Definition at line 698 of file os_qnxnto.h.
#define RDCD_EST_YELLOW_MODE1_SECTOR (2 << 2) |
Definition at line 696 of file os_qnxnto.h.
#define RDCD_EST_YELLOW_MODE2_SECTOR (3 << 2) |
Definition at line 697 of file os_qnxnto.h.
#define RDCD_FLG_CD_BLOCK_ERR 0x04 |
Definition at line 708 of file os_qnxnto.h.
#define RDCD_FLG_CD_ERR 0x02 |
Definition at line 707 of file os_qnxnto.h.
#define RDCD_FLG_ECC 0x08 |
Definition at line 706 of file os_qnxnto.h.
#define RDCD_FLG_HC_ALL_HEADERS ( 0x03 << 5 ) |
Definition at line 712 of file os_qnxnto.h.
#define RDCD_FLG_HC_HDR ( 0x01 << 5 ) |
Definition at line 710 of file os_qnxnto.h.
#define RDCD_FLG_HC_NONE ( 0x00 << 5 ) |
Definition at line 709 of file os_qnxnto.h.
#define RDCD_FLG_HC_SUBHEADER ( 0x02 << 5 ) |
Definition at line 711 of file os_qnxnto.h.
#define RDCD_FLG_SYNC 0x80 |
Definition at line 704 of file os_qnxnto.h.
#define RDCD_FLG_UDATA 0x10 |
Definition at line 705 of file os_qnxnto.h.
#define RP_OPT_BT 0x01 |
Definition at line 803 of file os_qnxnto.h.
#define RP_OPT_LNG 0x02 |
Definition at line 804 of file os_qnxnto.h.
#define RP_OPT_TCLP 0x04 |
Definition at line 805 of file os_qnxnto.h.
#define RSCHNL_DATA_SUBQ 0x40 |
Definition at line 669 of file os_qnxnto.h.
#define RSCHNL_OPT_MSF 0x02 |
Definition at line 667 of file os_qnxnto.h.
#define RTOC_CNTL_FMT_SESSION 0x40 |
Definition at line 585 of file os_qnxnto.h.
#define RTOC_FMT_ATIP 0x4 |
Definition at line 577 of file os_qnxnto.h.
#define RTOC_FMT_CDTEXT 0x5 |
Definition at line 578 of file os_qnxnto.h.
#define RTOC_FMT_QSUBCHNL 0x3 |
Definition at line 576 of file os_qnxnto.h.
#define RTOC_FMT_QSUBCODE 0x2 |
Definition at line 575 of file os_qnxnto.h.
#define RTOC_FMT_SESSION 0x1 |
Definition at line 574 of file os_qnxnto.h.
#define RTOC_FMT_TOC 0x0 |
Definition at line 573 of file os_qnxnto.h.
#define RTOC_OPT_MSF 0x02 |
Definition at line 571 of file os_qnxnto.h.
#define RW_OPT_CORRCT 0x02 |
Definition at line 342 of file os_qnxnto.h.
#define RW_OPT_DPO 0x10 |
Definition at line 344 of file os_qnxnto.h.
#define RW_OPT_FUA 0x08 |
Definition at line 343 of file os_qnxnto.h.
#define RW_OPT_RELADR 0x01 |
Definition at line 341 of file os_qnxnto.h.
#define SC_ATA_PT16 0x85 |
Definition at line 63 of file os_qnxnto.h.
#define SC_OPT_IMMED 0x02 |
Definition at line 493 of file os_qnxnto.h.
#define SC_OPT_RELADR 0x01 |
Definition at line 492 of file os_qnxnto.h.
#define SENSE_DATA_FMT_DESCRIPTOR 0x02 |
Definition at line 112 of file os_qnxnto.h.
#define SENSE_DTYPE_ATA 0x09 |
Definition at line 176 of file os_qnxnto.h.
#define SENSE_DTYPE_BLOCK 0x05 |
Definition at line 172 of file os_qnxnto.h.
#define SENSE_DTYPE_CSI 0x01 |
Definition at line 168 of file os_qnxnto.h.
#define SENSE_DTYPE_FRU 0x03 |
Definition at line 170 of file os_qnxnto.h.
#define SENSE_DTYPE_INFORMATION 0x00 |
Definition at line 167 of file os_qnxnto.h.
#define SENSE_DTYPE_OSD_ATR_IDENT 0x08 |
Definition at line 175 of file os_qnxnto.h.
#define SENSE_DTYPE_OSD_INTEGRITY 0x07 |
Definition at line 174 of file os_qnxnto.h.
#define SENSE_DTYPE_OSD_OBJ_IDENT 0x06 |
Definition at line 173 of file os_qnxnto.h.
#define SENSE_DTYPE_SKS 0x02 |
Definition at line 169 of file os_qnxnto.h.
#define SENSE_DTYPE_STREAM 0x04 |
Definition at line 171 of file os_qnxnto.h.
#define SK_BLNK_CHK 8 |
Definition at line 255 of file os_qnxnto.h.
#define SK_CMD_ABORT 11 |
Definition at line 258 of file os_qnxnto.h.
#define SK_CPY_ABORT 10 |
Definition at line 257 of file os_qnxnto.h.
#define SK_DATA_PROT 7 |
Definition at line 252 of file os_qnxnto.h.
#define SK_EQUAL 12 |
Definition at line 259 of file os_qnxnto.h.
#define SK_HARDWARE 4 |
Definition at line 231 of file os_qnxnto.h.
#define SK_ILLEGAL 5 |
Definition at line 236 of file os_qnxnto.h.
#define SK_MEDIUM 3 |
Definition at line 224 of file os_qnxnto.h.
#define SK_MISCMP 14 |
Definition at line 261 of file os_qnxnto.h.
#define SK_MSK 0x0F |
Definition at line 199 of file os_qnxnto.h.
#define SK_NO_SENSE 0 |
Definition at line 201 of file os_qnxnto.h.
#define SK_NOT_RDY 2 |
Definition at line 211 of file os_qnxnto.h.
#define SK_RECOVERED 1 |
Definition at line 207 of file os_qnxnto.h.
#define SK_RESERVED 15 |
Definition at line 262 of file os_qnxnto.h.
#define SK_UNIT_ATN 6 |
Definition at line 245 of file os_qnxnto.h.
#define SK_VENDOR 9 |
Definition at line 256 of file os_qnxnto.h.
#define SK_VOL_OFL 13 |
Definition at line 260 of file os_qnxnto.h.
#define SPACE_CODE_BLOCKS 0x00 |
Definition at line 831 of file os_qnxnto.h.
#define SPACE_CODE_EOD 0x03 |
Definition at line 834 of file os_qnxnto.h.
#define SPACE_CODE_FMRKS 0x01 |
Definition at line 832 of file os_qnxnto.h.
#define SPACE_CODE_SEQ_FMRKS 0x02 |
Definition at line 833 of file os_qnxnto.h.
#define SPACE_CODE_SEQ_SMRKS 0x05 |
Definition at line 836 of file os_qnxnto.h.
#define SPACE_CODE_SMRKS 0x04 |
Definition at line 835 of file os_qnxnto.h.
#define SRW_OPT_FIXED 0x01 |
Definition at line 813 of file os_qnxnto.h.
#define SRW_OPT_SILI 0x02 |
Definition at line 814 of file os_qnxnto.h.
#define WF_OPT_IMMED 0x01 |
Definition at line 844 of file os_qnxnto.h.
#define WF_OPT_WSMK 0x02 |
Definition at line 845 of file os_qnxnto.h.
typedef struct _ata_pass_thru ATA_PASS_THRU |
Definition at line 34 of file os_qnxnto.h.
typedef struct _ata_sense ATA_SENSE |
Definition at line 36 of file os_qnxnto.h.
typedef struct _ata_status_descriptor ATA_STATUS_DESCRIPTOR |
typedef void CCB |
Definition at line 38 of file os_qnxnto.h.
typedef struct _drive_attribute DRIVE_ATTRIBUTE |
typedef struct _eide_identify EIDE_IDENTIFY |
Definition at line 35 of file os_qnxnto.h.
typedef struct _scsi_sense SCSI_SENSE |
typedef struct _scsi_sense_descriptor SCSI_SENSE_DESCRIPTOR |
typedef struct _scsi_sense_desriptor_header SCSI_SENSE_DESCRIPTOR_HEADER |
struct _ata_pass_thru ata_pass_thru_ |