#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <errno.h>
#include "config.h"
#include "scsicmds.h"
#include "atacmds.h"
#include "knowndrives.h"
#include "utility.h"
#include "dev_interface.h"
#include "dev_ata_cmd_set.h"
#include "dev_tunnelled.h"
#include "sg_unaligned.h"
Go to the source code of this file.
|
const char * | scsiata_cpp_cvsid = "$Id: scsiata.cpp 5482 2023-06-25 16:46:49Z chrfranke $" |
|
◆ ATA_RETURN_DESCRIPTOR
#define ATA_RETURN_DESCRIPTOR 9 |
◆ DEF_SAT_ATA_PASSTHRU_SIZE
#define DEF_SAT_ATA_PASSTHRU_SIZE 16 |
◆ SAT_ATA_PASSTHROUGH_12LEN
#define SAT_ATA_PASSTHROUGH_12LEN 12 |
◆ SAT_ATA_PASSTHROUGH_16LEN
#define SAT_ATA_PASSTHROUGH_16LEN 16 |
◆ USBCYPRESS_PASSTHROUGH_LEN
#define USBCYPRESS_PASSTHROUGH_LEN 16 |
◆ format_usb_id()
static std::string format_usb_id |
( |
int |
vendor_id, |
|
|
int |
product_id, |
|
|
int |
version |
|
) |
| |
|
static |
◆ has_sat_pass_through()
static bool has_sat_pass_through |
( |
ata_device * |
dev, |
|
|
bool |
packet_interface = false |
|
) |
| |
|
static |
◆ sg_scsi_normalize_sense()
static int sg_scsi_normalize_sense |
( |
const unsigned char * |
sensep, |
|
|
int |
sb_len, |
|
|
struct sg_scsi_sense_hdr * |
sshp |
|
) |
| |
|
static |
◆ scsiata_cpp_cvsid
const char* scsiata_cpp_cvsid = "$Id: scsiata.cpp 5482 2023-06-25 16:46:49Z chrfranke $" |