summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Taylor <thebigguy.co.uk@gmail.com>2010-02-14 21:54:25 +0000
committerLennart Poettering <lennart@poettering.net>2010-02-17 01:20:23 +0100
commit2cc510293bd7dd120e1f5a24747924ec3630aba3 (patch)
tree4d8ea67455d120ddffba99061ee6c0a50804f619
parent3c622f869186c574abf10532deef195edf3fb062 (diff)
libatasmart patch
hi I have made a patch for libatasmart to add support for attribute 184 and 188. just adds the name to them. Anyway I thought you might want to take a look at it. Iv attached the patch against the git master and here is the link to the Ubuntu's bug/patch https://bugs.launchpad.net/libatasmart/+bug/521864 Thanks Guy Taylor
-rw-r--r--atasmart.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/atasmart.c b/atasmart.c
index ead52b3..a4b60c0 100644
--- a/atasmart.c
+++ b/atasmart.c
@@ -1290,7 +1290,9 @@ static const SkSmartAttributeInfo const attribute_info[256] = {
[11] = { "calibration-retry-count", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
[12] = { "power-cycle-count", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
[13] = { "read-soft-error-rate", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
+ [184] = { "end-to-end-error", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
[187] = { "reported-uncorrect", SK_SMART_ATTRIBUTE_UNIT_SECTORS, verify_sectors },
+ [188] = { "command-timeout", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
[189] = { "high-fly-writes", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
[190] = { "airflow-temperature-celsius", SK_SMART_ATTRIBUTE_UNIT_MKELVIN, verify_temperature },
[191] = { "g-sense-error-rate", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },