svn commit: r273183 - in head/sys/cam: ata scsi
Sean Bruno
sbruno at FreeBSD.org
Thu Oct 16 20:33:06 UTC 2014
Author: sbruno
Date: Thu Oct 16 20:33:04 2014
New Revision: 273183
URL: https://svnweb.freebsd.org/changeset/base/273183
Log:
Add 4k quirks for PM853T Samsung SSD
MFC after: 2 weeks
Sponsored by: Limelight Networks
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 Thu Oct 16 20:13:16 2014 (r273182)
+++ head/sys/cam/ata/ata_da.c Thu Oct 16 20:33:04 2014 (r273183)
@@ -459,6 +459,14 @@ static struct ada_quirk_entry ada_quirk_
},
{
/*
+ * Samsung PM853T Series SSDs
+ * 4k optimised
+ */
+ { T_DIRECT, SIP_MEDIA_FIXED, "*", "SAMSUNG MZ7GE*", "*" },
+ /*quirks*/ADA_Q_4K
+ },
+ {
+ /*
* SuperTalent TeraDrive CT 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 Thu Oct 16 20:13:16 2014 (r273182)
+++ head/sys/cam/scsi/scsi_da.c Thu Oct 16 20:33:04 2014 (r273183)
@@ -1134,6 +1134,14 @@ static struct da_quirk_entry da_quirk_ta
},
{
/*
+ * Samsung PM853T Series SSDs
+ * 4k optimised
+ */
+ { T_DIRECT, SIP_MEDIA_FIXED, "ATA", "SAMSUNG MZ7GE*", "*" },
+ /*quirks*/DA_Q_4K
+ },
+ {
+ /*
* SuperTalent TeraDrive CT SSDs
* 4k optimised & trim only works in 4k requests + 4k aligned
*/
More information about the svn-src-head
mailing list