diff --git a/sm5/CHANGELOG b/sm5/CHANGELOG index a3815d91e90bc51eaf586275eec7b431add346d2..cb84798c549971c09de473379ba08bae27970f68 100644 --- a/sm5/CHANGELOG +++ b/sm5/CHANGELOG @@ -1,6 +1,6 @@ CHANGELOG for smartmontools -$Id: CHANGELOG,v 1.84 2003/01/12 10:23:28 ballen4705 Exp $ +$Id: CHANGELOG,v 1.85 2003/01/13 12:49:06 ballen4705 Exp $ Copyright (C) 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net> @@ -33,6 +33,7 @@ NOTES FOR FUTURE RELEASES: see TODO file. CURRENT RELEASE (see VERSION file in this directory): + [BA] Added Attribute 240 "head flying hours" smartmontools-5.1.1 diff --git a/sm5/atacmds.c b/sm5/atacmds.c index 1deb312ee368724b4faa53b6fc336fa43d9f71f4..f77683c6d05d95b92de1b88a2a3346edec51445b 100644 --- a/sm5/atacmds.c +++ b/sm5/atacmds.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include "atacmds.h" -const char *CVSid1="$Id: atacmds.c,v 1.49 2003/01/04 17:34:16 pjwilliams Exp $" CVSID1; +const char *CVSid1="$Id: atacmds.c,v 1.50 2003/01/13 12:49:06 ballen4705 Exp $" CVSID1; // These Drive Identity tables are taken from hdparm 5.2, and are also // given in the ATA/ATAPI specs for the IDENTIFY DEVICE command. Note @@ -922,6 +922,9 @@ void ataPrintSmartAttribName(char *out, unsigned char id, unsigned char *defs){ case 231: name="Temperature_Celsius"; break; + case 240: + name="Head flying hours"; + break; default: name="Unknown_Attribute"; break; diff --git a/sm5/atacmds.cpp b/sm5/atacmds.cpp index 6ee100e920a0a36fadbb6768ca5249d340bc1fbf..543377bb7e188f3a5534815472b5c2f16c51a3f5 100644 --- a/sm5/atacmds.cpp +++ b/sm5/atacmds.cpp @@ -29,7 +29,7 @@ #include <stdlib.h> #include "atacmds.h" -const char *CVSid1="$Id: atacmds.cpp,v 1.49 2003/01/04 17:34:16 pjwilliams Exp $" CVSID1; +const char *CVSid1="$Id: atacmds.cpp,v 1.50 2003/01/13 12:49:06 ballen4705 Exp $" CVSID1; // These Drive Identity tables are taken from hdparm 5.2, and are also // given in the ATA/ATAPI specs for the IDENTIFY DEVICE command. Note @@ -922,6 +922,9 @@ void ataPrintSmartAttribName(char *out, unsigned char id, unsigned char *defs){ case 231: name="Temperature_Celsius"; break; + case 240: + name="Head flying hours"; + break; default: name="Unknown_Attribute"; break;