mirror of
https://github.com/openhardwaremonitor/openhardwaremonitor
synced 2025-08-30 13:57:38 +00:00
Small correction to the Sandforce SSD detection to prevent Marvell controllers (M4, C300) from getting identified as Sandforce.
This commit is contained in:
@@ -241,7 +241,56 @@ namespace OpenHardwareMonitor.Hardware.HDD {
|
|||||||
130 5B0300010002 1 9
|
130 5B0300010002 1 9
|
||||||
59 FC3203030100 205 0
|
59 FC3203030100 205 0
|
||||||
1 000000000000 0 0
|
1 000000000000 0 0
|
||||||
144 000000000000 0 34 ")
|
144 000000000000 0 34 "),
|
||||||
|
|
||||||
|
new Drive("M4-CT256M4SSD2", "0309", 16,
|
||||||
|
@"01 000000000000 100 100 50
|
||||||
|
05 000000000000 100 100 10
|
||||||
|
09 AB0100000000 100 100 1
|
||||||
|
0C 6E0000000000 100 100 1
|
||||||
|
AA 000000000000 100 100 10
|
||||||
|
AB 000000000000 100 100 1
|
||||||
|
AC 000000000000 100 100 1
|
||||||
|
AD 060000000000 100 100 10
|
||||||
|
AE 000000000000 100 100 1
|
||||||
|
B5 79003D00B700 100 100 1
|
||||||
|
B7 000000000000 100 100 1
|
||||||
|
B8 000000000000 100 100 50
|
||||||
|
BB 000000000000 100 100 1
|
||||||
|
BC 000000000000 100 100 1
|
||||||
|
BD 5B0000000000 100 100 1
|
||||||
|
C2 000000000000 100 100 0
|
||||||
|
C3 000000000000 100 100 1
|
||||||
|
C4 000000000000 100 100 1
|
||||||
|
C5 000000000000 100 100 1
|
||||||
|
C6 000000000000 100 100 1
|
||||||
|
C7 000000000000 100 100 1
|
||||||
|
CA 000000000000 100 100 1
|
||||||
|
CE 000000000000 100 100 1 "),
|
||||||
|
|
||||||
|
new Drive("C300-CTFDDAC256MAG", "0007", 16,
|
||||||
|
@"01 000000000000 100 100 0
|
||||||
|
05 000000000000 100 100 0
|
||||||
|
09 4C0A00000000 100 100 0
|
||||||
|
0C 0F0100000000 100 100 0
|
||||||
|
AA 000000000000 100 100 0
|
||||||
|
AB 000000000000 100 100 0
|
||||||
|
AC 000000000000 100 100 0
|
||||||
|
AD 1B0000000000 100 100 0
|
||||||
|
AE 000000000000 100 100 0
|
||||||
|
B5 D30357012B05 100 100 0
|
||||||
|
B7 000000000000 100 100 0
|
||||||
|
B8 000000000000 100 100 0
|
||||||
|
BB 000000000000 100 100 0
|
||||||
|
BC 000000000000 100 100 0
|
||||||
|
BD C60100000000 100 100 0
|
||||||
|
C3 000000000000 100 100 0
|
||||||
|
C4 000000000000 100 100 0
|
||||||
|
C5 000000000000 100 100 0
|
||||||
|
C6 000000000000 100 100 0
|
||||||
|
C7 000000000000 100 100 0
|
||||||
|
CA 000000000000 100 100 0
|
||||||
|
CE 000000000000 100 100 0")
|
||||||
};
|
};
|
||||||
|
|
||||||
public IntPtr OpenDrive(int driveNumber) {
|
public IntPtr OpenDrive(int driveNumber) {
|
||||||
|
@@ -39,7 +39,7 @@
|
|||||||
namespace OpenHardwareMonitor.Hardware.HDD {
|
namespace OpenHardwareMonitor.Hardware.HDD {
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
[NamePrefix(""), RequireSmart(0xAB)]
|
[NamePrefix(""), RequireSmart(0xAB), RequireSmart(0xB1)]
|
||||||
internal class SSDSandforce : AbstractHarddrive {
|
internal class SSDSandforce : AbstractHarddrive {
|
||||||
|
|
||||||
private static readonly IEnumerable<SmartAttribute> smartAttributes =
|
private static readonly IEnumerable<SmartAttribute> smartAttributes =
|
||||||
|
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
The Initial Developer of the Original Code is
|
The Initial Developer of the Original Code is
|
||||||
Michael Möller <m.moeller@gmx.ch>.
|
Michael Möller <m.moeller@gmx.ch>.
|
||||||
Portions created by the Initial Developer are Copyright (C) 2009-2011
|
Portions created by the Initial Developer are Copyright (C) 2009-2012
|
||||||
the Initial Developer. All Rights Reserved.
|
the Initial Developer. All Rights Reserved.
|
||||||
|
|
||||||
Contributor(s):
|
Contributor(s):
|
||||||
@@ -37,5 +37,5 @@
|
|||||||
|
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
|
||||||
[assembly: AssemblyVersion("0.4.0.0")]
|
[assembly: AssemblyVersion("0.4.0.1")]
|
||||||
[assembly: AssemblyInformationalVersion("0.4.0 Beta")]
|
[assembly: AssemblyInformationalVersion("0.4.0.1 Alpha")]
|
Reference in New Issue
Block a user