1.1 --- a/Hardware/HDD/SSDIntel.cs Sun Jan 01 17:12:34 2012 +0000
1.2 +++ b/Hardware/HDD/SSDIntel.cs Mon Jan 02 18:44:19 2012 +0000
1.3 @@ -47,27 +47,27 @@
1.4 private static readonly IEnumerable<SmartAttribute> smartAttributes =
1.5 new List<SmartAttribute> {
1.6
1.7 - new SmartAttribute(0x01, SmartAttributeNames.ReadErrorRate),
1.8 - new SmartAttribute(0x03, SmartAttributeNames.SpinUpTime),
1.9 - new SmartAttribute(0x04, SmartAttributeNames.StartStopCount, RawToInt),
1.10 - new SmartAttribute(0x05, SmartAttributeNames.ReallocatedSectorsCount),
1.11 - new SmartAttribute(0x09, SmartAttributeNames.PowerOnHours, RawToInt),
1.12 - new SmartAttribute(0x0C, SmartAttributeNames.PowerCycleCount, RawToInt),
1.13 - new SmartAttribute(0xAA, SmartAttributeNames.AvailableReservedSpace),
1.14 - new SmartAttribute(0xAB, SmartAttributeNames.ProgramFailCount),
1.15 - new SmartAttribute(0xAC, SmartAttributeNames.EraseFailCount),
1.16 - new SmartAttribute(0xB8, SmartAttributeNames.EndToEndError),
1.17 - new SmartAttribute(0xC0, SmartAttributeNames.UnsafeShutdownCount),
1.18 - new SmartAttribute(0xE1, SmartAttributeNames.HostWrites,
1.19 + new SmartAttribute(0x01, SmartNames.ReadErrorRate),
1.20 + new SmartAttribute(0x03, SmartNames.SpinUpTime),
1.21 + new SmartAttribute(0x04, SmartNames.StartStopCount, RawToInt),
1.22 + new SmartAttribute(0x05, SmartNames.ReallocatedSectorsCount),
1.23 + new SmartAttribute(0x09, SmartNames.PowerOnHours, RawToInt),
1.24 + new SmartAttribute(0x0C, SmartNames.PowerCycleCount, RawToInt),
1.25 + new SmartAttribute(0xAA, SmartNames.AvailableReservedSpace),
1.26 + new SmartAttribute(0xAB, SmartNames.ProgramFailCount),
1.27 + new SmartAttribute(0xAC, SmartNames.EraseFailCount),
1.28 + new SmartAttribute(0xB8, SmartNames.EndToEndError),
1.29 + new SmartAttribute(0xC0, SmartNames.UnsafeShutdownCount),
1.30 + new SmartAttribute(0xE1, SmartNames.HostWrites,
1.31 (byte[] r, byte v) => { return RawToInt(r, v) / 0x20; },
1.32 SensorType.Data, 0),
1.33 - new SmartAttribute(0xE8, SmartAttributeNames.RemainingLife,
1.34 + new SmartAttribute(0xE8, SmartNames.RemainingLife,
1.35 null, SensorType.Level, 0),
1.36 - new SmartAttribute(0xE9, SmartAttributeNames.MediaWearOutIndicator),
1.37 - new SmartAttribute(0xF1, SmartAttributeNames.HostWrites,
1.38 + new SmartAttribute(0xE9, SmartNames.MediaWearOutIndicator),
1.39 + new SmartAttribute(0xF1, SmartNames.HostWrites,
1.40 (byte[] r, byte v) => { return RawToInt(r, v) / 0x20; },
1.41 SensorType.Data, 0),
1.42 - new SmartAttribute(0xF2, SmartAttributeNames.HostReads,
1.43 + new SmartAttribute(0xF2, SmartNames.HostReads,
1.44 (byte[] r, byte v) => { return RawToInt(r, v) / 0x20; },
1.45 SensorType.Data, 1),
1.46 };