mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[libata] ATA passthru (arbitrary ATA command execution)
Authors: Brett Russ <russb@emc.com> John W. Linville <linville@tuxdriver.com> Andy Warner <andyw@pobox.com>
This commit is contained in:
parent
88d7bd8cb9
commit
b095518ef5
3 changed files with 556 additions and 109 deletions
|
@ -113,6 +113,9 @@ extern const char *const scsi_device_types[MAX_SCSI_DEVICE_CODE];
|
|||
/* values for service action in */
|
||||
#define SAI_READ_CAPACITY_16 0x10
|
||||
|
||||
/* Values for T10/04-262r7 */
|
||||
#define ATA_16 0x85 /* 16-byte pass-thru */
|
||||
#define ATA_12 0xa1 /* 12-byte pass-thru */
|
||||
|
||||
/*
|
||||
* SCSI Architecture Model (SAM) Status codes. Taken from SAM-3 draft
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue