summaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-05-12 15:45:22 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-05-12 15:45:22 -0400
commitb095518ef51c37658c58367bd19240b8a113f25c (patch)
treefc65e55b8786c48067338b8097bae1cbc13fbaac /include/scsi
parent88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 (diff)
downloadlinux-b095518ef51c37658c58367bd19240b8a113f25c.tar.gz
linux-b095518ef51c37658c58367bd19240b8a113f25c.tar.bz2
linux-b095518ef51c37658c58367bd19240b8a113f25c.zip
[libata] ATA passthru (arbitrary ATA command execution)
Authors: Brett Russ <russb@emc.com> John W. Linville <linville@tuxdriver.com> Andy Warner <andyw@pobox.com>
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/scsi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h
index 659ecf48fb4a..27d4d9ea6c6d 100644
--- a/include/scsi/scsi.h
+++ b/include/scsi/scsi.h
@@ -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