diff options
author | mav <mav@FreeBSD.org> | 2009-02-23 22:29:38 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2009-02-23 22:29:38 +0000 |
commit | 7f1b7b07995e0c6d89ef2daf876a9e29d0469990 (patch) | |
tree | 1cb605050aff586b273fc76caf62c4ef9a64086b | |
parent | ab8cd68dd6a1984b97a535ed83178ef4217bf5cd (diff) | |
download | FreeBSD-src-7f1b7b07995e0c6d89ef2daf876a9e29d0469990.zip FreeBSD-src-7f1b7b07995e0c6d89ef2daf876a9e29d0469990.tar.gz |
Bring SATA revision reporting into conformance with SATA-IO guidelines.
-rw-r--r-- | sbin/atacontrol/atacontrol.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sbin/atacontrol/atacontrol.c b/sbin/atacontrol/atacontrol.c index cd51259..f68596c 100644 --- a/sbin/atacontrol/atacontrol.c +++ b/sbin/atacontrol/atacontrol.c @@ -132,11 +132,11 @@ param_print(struct ata_params *parm) printf("<%.40s/%.8s> ", parm->model, parm->revision); if (parm->satacapabilities && parm->satacapabilities != 0xffff) { if (parm->satacapabilities & ATA_SATA_GEN2) - printf("Serial ATA II\n"); + printf("SATA revision 2.x\n"); else if (parm->satacapabilities & ATA_SATA_GEN1) - printf("Serial ATA v1.0\n"); + printf("SATA revision 1.x\n"); else - printf("Unknown serial ATA version\n"); + printf("Unknown SATA revision\n"); } else printf("ATA/ATAPI revision %d\n", version(parm->version_major)); @@ -157,11 +157,11 @@ cap_print(struct ata_params *parm) printf("Protocol "); if (parm->satacapabilities && parm->satacapabilities != 0xffff) { if (parm->satacapabilities & ATA_SATA_GEN2) - printf("Serial ATA II\n"); + printf("SATA revision 2.x\n"); else if (parm->satacapabilities & ATA_SATA_GEN1) - printf("Serial ATA v1.0\n"); + printf("SATA revision 1.x\n"); else - printf("Unknown serial ATA version\n"); + printf("Unknown SATA revision\n"); } else printf("ATA/ATAPI revision %d\n", version(parm->version_major)); |