diff --git a/sm5/VERSION b/sm5/VERSION index b4de3947675361a7770d29b8982c407b0ec6b2a0..48082f72f087ce7e6fa75b9c41d7387daecd447b 100644 --- a/sm5/VERSION +++ b/sm5/VERSION @@ -1 +1 @@ -11 +12 diff --git a/sm5/atacmds.c b/sm5/atacmds.c index a3a6f35a6c5894d5e1c4547660aecc5c0a8ccc21..2155f09cc777055a33569e007fc71bbe13d3e1d3 100644 --- a/sm5/atacmds.c +++ b/sm5/atacmds.c @@ -29,7 +29,7 @@ #include <errno.h> #include "atacmds.h" -const char *CVSid1="$Id: atacmds.c,v 1.22 2002/10/24 09:54:02 ballen4705 Exp $" CVSID1; +const char *CVSid1="$Id: atacmds.c,v 1.23 2002/10/24 11:16:51 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 @@ -717,6 +717,7 @@ void ataPrintSmartAttribName(char *out, unsigned char id){ name="UDMA_CRC_Error_Count"; break; case 220: + // Note -- this is also apparently used for temperature. name="Disk_Shift"; break; case 221: @@ -743,6 +744,8 @@ void ataPrintSmartAttribName(char *out, unsigned char id){ case 228: name="Power-off_Retract_Count"; break; + case 231: + name="Temperature_Centigrade"; default: name="Unknown_Attribute"; break; diff --git a/sm5/atacmds.cpp b/sm5/atacmds.cpp index 655e3b5acdfb6e5bed0a5e8bbe635ddd04a18b48..bb116e56f1b5be2992130fd6d7ca6cf35a665ac2 100644 --- a/sm5/atacmds.cpp +++ b/sm5/atacmds.cpp @@ -29,7 +29,7 @@ #include <errno.h> #include "atacmds.h" -const char *CVSid1="$Id: atacmds.cpp,v 1.22 2002/10/24 09:54:02 ballen4705 Exp $" CVSID1; +const char *CVSid1="$Id: atacmds.cpp,v 1.23 2002/10/24 11:16:51 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 @@ -717,6 +717,7 @@ void ataPrintSmartAttribName(char *out, unsigned char id){ name="UDMA_CRC_Error_Count"; break; case 220: + // Note -- this is also apparently used for temperature. name="Disk_Shift"; break; case 221: @@ -743,6 +744,8 @@ void ataPrintSmartAttribName(char *out, unsigned char id){ case 228: name="Power-off_Retract_Count"; break; + case 231: + name="Temperature_Centigrade"; default: name="Unknown_Attribute"; break;