Module Name: src
Committed By: snj
Date: Sun Nov 9 19:23:04 UTC 2014
Modified Files:
src/sbin/atactl [netbsd-7]: atactl.c
Log Message:
Pull up following revision(s) (requested by mrg in ticket #196):
sbin/atactl/atactl.c: revision 1.74
add a whole bunch of S.M.A.R.T. status i found around various sources.
now nothing on my new SSD is unknown, except #249.
To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.73.4.1 src/sbin/atactl/atactl.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/atactl/atactl.c
diff -u src/sbin/atactl/atactl.c:1.73 src/sbin/atactl/atactl.c:1.73.4.1
--- src/sbin/atactl/atactl.c:1.73 Mon Dec 9 09:35:16 2013
+++ src/sbin/atactl/atactl.c Sun Nov 9 19:23:04 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: atactl.c,v 1.73 2013/12/09 09:35:16 wiz Exp $ */
+/* $NetBSD: atactl.c,v 1.73.4.1 2014/11/09 19:23:04 snj Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: atactl.c,v 1.73 2013/12/09 09:35:16 wiz Exp $");
+__RCSID("$NetBSD: atactl.c,v 1.73.4.1 2014/11/09 19:23:04 snj Exp $");
#endif
@@ -273,8 +273,27 @@ static const struct {
{ 11, "Calibration retry count", NULL },
{ 12, "Device power cycle count", NULL },
{ 13, "Soft read error rate", NULL },
+ { 100, "Erase/Program Cycles", NULL },
+ { 103, "Translation Table Rebuild", NULL },
+ { 170, "Reserved Block Count", NULL },
+ { 171, "Program Fail Count", NULL },
+ { 172, "Erase Fail Count", NULL },
+ { 173, "Wear Leveller Worst Case Erase Count", NULL },
+ { 174, "Unexpected Power Loss", NULL },
+ { 175, "Program Fail Count", NULL },
+ { 176, "Erase Fail Count", NULL },
+ { 177, "Wear Leveling Count", NULL },
+ { 178, "Used Reserved Block Count", NULL },
+ { 179, "Used Reserved Block Count", NULL },
+ { 180, "Unused Reserved Block Count", NULL },
+ { 181, "Program Fail Count", NULL },
+ { 182, "Erase Fail Count", NULL },
+ { 183, "SATA Downshift Error Count", NULL },
{ 184, "End-to-end error", NULL },
+ { 185, "Head Stability", NULL },
+ { 186, "Induced Op-Vibration Detection", NULL },
{ 187, "Reported uncorrect", NULL },
+ { 188, "Command Timeout", NULL },
{ 189, "High Fly Writes", NULL },
{ 190, "Airflow Temperature", device_smart_temp },
{ 191, "G-sense error rate", NULL },
@@ -310,7 +329,10 @@ static const struct {
{ 232, "Available reserved space", NULL },
{ 233, "Media wearout indicator", NULL },
{ 240, "Head flying hours", NULL },
+ { 241, "Total LBAs Written", NULL },
+ { 242, "Total LBAs Read", NULL },
{ 250, "Read error retry rate", NULL },
+ { 254, "Free Fall Sensor", NULL },
{ 0, "Unknown", NULL },
};