mirror of
https://github.com/openhardwaremonitor/openhardwaremonitor
synced 2025-08-29 13:28:04 +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:
parent
34732f6312
commit
b9edd942b0
@ -241,7 +241,56 @@ namespace OpenHardwareMonitor.Hardware.HDD {
|
||||
130 5B0300010002 1 9
|
||||
59 FC3203030100 205 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) {
|
||||
|
@ -39,7 +39,7 @@
|
||||
namespace OpenHardwareMonitor.Hardware.HDD {
|
||||
using System.Collections.Generic;
|
||||
|
||||
[NamePrefix(""), RequireSmart(0xAB)]
|
||||
[NamePrefix(""), RequireSmart(0xAB), RequireSmart(0xB1)]
|
||||
internal class SSDSandforce : AbstractHarddrive {
|
||||
|
||||
private static readonly IEnumerable<SmartAttribute> smartAttributes =
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
The Initial Developer of the Original Code is
|
||||
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.
|
||||
|
||||
Contributor(s):
|
||||
@ -37,5 +37,5 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("0.4.0.0")]
|
||||
[assembly: AssemblyInformationalVersion("0.4.0 Beta")]
|
||||
[assembly: AssemblyVersion("0.4.0.1")]
|
||||
[assembly: AssemblyInformationalVersion("0.4.0.1 Alpha")]
|
Loading…
x
Reference in New Issue
Block a user