diff -r 3b8443edb0e6 -r ea86cea126bc Hardware/HDD/SSDIntel.cs --- a/Hardware/HDD/SSDIntel.cs Wed Jul 25 15:33:16 2012 +0000 +++ b/Hardware/HDD/SSDIntel.cs Wed Jul 25 16:03:36 2012 +0000 @@ -10,9 +10,11 @@ */ +using System.Collections.Generic; +using OpenHardwareMonitor.Collections; + namespace OpenHardwareMonitor.Hardware.HDD { - using System.Collections.Generic; - + [NamePrefix("INTEL SSD"), RequireSmart(0xE1), RequireSmart(0xE8), RequireSmart(0xE9)] internal class SSDIntel : AbstractHarddrive { @@ -32,16 +34,19 @@ new SmartAttribute(0xB8, SmartNames.EndToEndError), new SmartAttribute(0xC0, SmartNames.UnsafeShutdownCount), new SmartAttribute(0xE1, SmartNames.HostWrites, - (byte[] r, byte v) => { return RawToInt(r, v) / 0x20; }, + (byte[] r, byte v, IReadOnlyArray p) + => { return RawToInt(r, v, p) / 0x20; }, SensorType.Data, 0), new SmartAttribute(0xE8, SmartNames.RemainingLife, null, SensorType.Level, 0), new SmartAttribute(0xE9, SmartNames.MediaWearOutIndicator), new SmartAttribute(0xF1, SmartNames.HostWrites, - (byte[] r, byte v) => { return RawToInt(r, v) / 0x20; }, + (byte[] r, byte v, IReadOnlyArray p) + => { return RawToInt(r, v, p) / 0x20; }, SensorType.Data, 0), new SmartAttribute(0xF2, SmartNames.HostReads, - (byte[] r, byte v) => { return RawToInt(r, v) / 0x20; }, + (byte[] r, byte v, IReadOnlyArray p) + => { return RawToInt(r, v, p) / 0x20; }, SensorType.Data, 1), };