From 8314f090abfe6bb587e8cdaed91187a2e39f02c9 Mon Sep 17 00:00:00 2001 From: geoffk1 <geoffk1@4ea69e1a-61f1-4043-bf83-b5c94c648137> Date: Sat, 3 Oct 2009 08:13:07 +0000 Subject: [PATCH] Add names for some attributes used in MLC flash drives: 175, 176, 177, 181, 182 git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@2926 4ea69e1a-61f1-4043-bf83-b5c94c648137 --- smartmontools/CHANGELOG | 3 +++ smartmontools/atacmds.cpp | 15 +++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/smartmontools/CHANGELOG b/smartmontools/CHANGELOG index 3a4d66545..dc1b824d5 100644 --- a/smartmontools/CHANGELOG +++ b/smartmontools/CHANGELOG @@ -43,6 +43,9 @@ NOTES FOR FUTURE RELEASES: see TODO file. <DEVELOPERS: ADDITIONS TO THE CHANGE LOG GO JUST BELOW HERE, PLEASE> + [GK] Add names for some attributes used in MLC flash drives: + 175, 176, 177, 181, 182 + [CF] Windows: Check support of gcc '-mno-cygwin' option in configure. This option has been removed in Cygwin gcc 4.x. Update INSTALL instructions accordingly. diff --git a/smartmontools/atacmds.cpp b/smartmontools/atacmds.cpp index 5dc29aea9..5b9d1f5e7 100644 --- a/smartmontools/atacmds.cpp +++ b/smartmontools/atacmds.cpp @@ -1985,6 +1985,15 @@ void ataPrintSmartAttribName(char * out, unsigned char id, const unsigned char * case 13: name="Read_Soft_Error_Rate"; break; + case 175: + name="Program_Fail_Count_Chip"; + break; + case 176: + name="Erase_Fail_Count_Chip"; + break; + case 177: + name="Wear_Leveling_Count"; + break; case 178: name="Used_Rsvd_Blk_Cnt_Chip"; break; @@ -1994,6 +2003,12 @@ void ataPrintSmartAttribName(char * out, unsigned char id, const unsigned char * case 180: name="Unused_Rsvd_Blk_Cnt_Tot"; break; + case 181: + name="Program_Fail_Cnt_Total"; + break; + case 182: + name="Erase_Fail_Count_Total"; + break; case 183: name="Runtime_Bad_Block"; break; -- GitLab