diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2011-04-01 14:28:23 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2011-04-01 14:28:23 +0000 |
commit | 660dea81490021d39d0eb4fafea51bb9f77ab1cb (patch) | |
tree | a84e9ee4ecf5e0b4b12b6c1454de84e00a9062ff /src/sg_sat_phy_event.c | |
parent | 2847b4bbed0cfd094eef71ffe41fb4cb10c702c9 (diff) | |
download | sg3_utils-660dea81490021d39d0eb4fafea51bb9f77ab1cb.tar.gz |
sg_inq: version descriptors sync with spc4r30; sg_decode_sense cleanup
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@394 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_sat_phy_event.c')
-rw-r--r-- | src/sg_sat_phy_event.c | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/src/sg_sat_phy_event.c b/src/sg_sat_phy_event.c index ab389e51..2880a704 100644 --- a/src/sg_sat_phy_event.c +++ b/src/sg_sat_phy_event.c @@ -20,16 +20,23 @@ #include "sg_cmds_basic.h" #include "sg_cmds_extra.h" -/* This program uses a ATA PASS-THROUGH (16 or 12) SCSI command defined - by SAT to package an ATA READ LOG EXT (2Fh) command to fetch - log page 11h. That page contains SATA phy event counters. - For SAT see http://www.t10.org [draft prior to standard: sat-r09.pdf] - For ATA READ LOG EXT command see ATA-8/ACS at www.t13.org . - For SATA phy counter definitions see SATA 2.5 . - - Invocation: sg_sat_phy_event [-v] [-V] <device> +/* This program uses a ATA PASS-THROUGH SCSI command. This usage is + * defined in the SCSI to ATA Translation (SAT) drafts and standards. + * See http://www.t10.org for drafts. SAT is a standard: SAT ANSI INCITS + * 431-2007 (draft prior to that is sat-r09.pdf). SAT-2 is also a + * standard: SAT-2 ANSI INCITS 465-2010 and the draft prior to that is + * sat2r09.pdf . The SAT-3 project has started and the most recent draft + * is sat3r01.pdf . + */ -*/ +/* This program uses a ATA PASS-THROUGH (16 or 12) SCSI command defined + * by SAT to package an ATA READ LOG EXT (2Fh) command to fetch + * log page 11h. That page contains SATA phy event counters. + * For ATA READ LOG EXT command see ATA-8/ACS at www.t13.org . + * For SATA phy counter definitions see SATA 2.5 . + * + * Invocation: see the usage() function below + */ #define SAT_ATA_PASS_THROUGH16 0x85 #define SAT_ATA_PASS_THROUGH16_LEN 16 @@ -46,7 +53,7 @@ #define EBUFF_SZ 256 -static char * version_str = "1.03 20110303"; +static char * version_str = "1.03 20110401"; static struct option long_options[] = { {"ck_cond", no_argument, 0, 'c'}, |