svn commit: r254329 - in head/sys/cam: ata scsi
Steven Hartland
smh at FreeBSD.org
Wed Aug 14 15:18:29 UTC 2013
Author: smh
Date: Wed Aug 14 15:18:28 2013
New Revision: 254329
URL: http://svnweb.freebsd.org/changeset/base/254329
Log:
Added 4K quirks for:-
* OCZ Agility 2 SSDs
* Marvell SSDs
* Intel X25-M Series SSDs
Modified:
head/sys/cam/ata/ata_da.c
head/sys/cam/scsi/scsi_da.c
Modified: head/sys/cam/ata/ata_da.c
==============================================================================
--- head/sys/cam/ata/ata_da.c Wed Aug 14 14:45:47 2013 (r254328)
+++ head/sys/cam/ata/ata_da.c Wed Aug 14 15:18:28 2013 (r254329)
@@ -349,6 +349,14 @@ static struct ada_quirk_entry ada_quirk_
},
{
/*
+ * Intel X25-M Series SSDs
+ * 4k optimised & trim only works in 4k requests + 4k aligned
+ */
+ { T_DIRECT, SIP_MEDIA_FIXED, "*", "INTEL SSDSA2M*", "*" },
+ /*quirks*/ADA_Q_4K
+ },
+ {
+ /*
* Kingston E100 Series SSDs
* 4k optimised & trim only works in 4k requests + 4k aligned
*/
@@ -365,6 +373,22 @@ static struct ada_quirk_entry ada_quirk_
},
{
/*
+ * Marvell SSDs (entry taken from OpenSolaris)
+ * 4k optimised & trim only works in 4k requests + 4k aligned
+ */
+ { T_DIRECT, SIP_MEDIA_FIXED, "*", "MARVELL SD88SA02*", "*" },
+ /*quirks*/ADA_Q_4K
+ },
+ {
+ /*
+ * OCZ Agility 2 SSDs
+ * 4k optimised & trim only works in 4k requests + 4k aligned
+ */
+ { T_DIRECT, SIP_MEDIA_FIXED, "*", "OCZ-AGILITY2*", "*" },
+ /*quirks*/ADA_Q_4K
+ },
+ {
+ /*
* OCZ Agility 3 SSDs
* 4k optimised & trim only works in 4k requests + 4k aligned
*/
Modified: head/sys/cam/scsi/scsi_da.c
==============================================================================
--- head/sys/cam/scsi/scsi_da.c Wed Aug 14 14:45:47 2013 (r254328)
+++ head/sys/cam/scsi/scsi_da.c Wed Aug 14 15:18:28 2013 (r254329)
@@ -1008,6 +1008,14 @@ static struct da_quirk_entry da_quirk_ta
},
{
/*
+ * Intel X25-M Series SSDs
+ * 4k optimised & trim only works in 4k requests + 4k aligned
+ */
+ { T_DIRECT, SIP_MEDIA_FIXED, "ATA", "INTEL SSDSA2M*", "*" },
+ /*quirks*/DA_Q_4K
+ },
+ {
+ /*
* Kingston E100 Series SSDs
* 4k optimised & trim only works in 4k requests + 4k aligned
*/
@@ -1024,6 +1032,22 @@ static struct da_quirk_entry da_quirk_ta
},
{
/*
+ * Marvell SSDs (entry taken from OpenSolaris)
+ * 4k optimised & trim only works in 4k requests + 4k aligned
+ */
+ { T_DIRECT, SIP_MEDIA_FIXED, "ATA", "MARVELL SD88SA02*", "*" },
+ /*quirks*/DA_Q_4K
+ },
+ {
+ /*
+ * OCZ Agility 2 SSDs
+ * 4k optimised & trim only works in 4k requests + 4k aligned
+ */
+ { T_DIRECT, SIP_MEDIA_FIXED, "*", "OCZ-AGILITY2*", "*" },
+ /*quirks*/DA_Q_4K
+ },
+ {
+ /*
* OCZ Agility 3 SSDs
* 4k optimised & trim only works in 4k requests + 4k aligned
*/
More information about the svn-src-all
mailing list