aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Bruno <sbruno@FreeBSD.org>2014-08-21 21:05:58 +0000
committerSean Bruno <sbruno@FreeBSD.org>2014-08-21 21:05:58 +0000
commit5f91863a544d02cf4c85124060396952c064a433 (patch)
treee58480176f70e810d1bec16543ebcc76ab87c28e
parent494053f4ee50694bdc842ab47a14efa057b45aee (diff)
downloadsrc-5f91863a544d02cf4c85124060396952c064a433.tar.gz
src-5f91863a544d02cf4c85124060396952c064a433.zip
Add the Samsung 843T as a 4k enabled drive
Submitted by: Jason Wolfe <jason@llnw.com> MFC after: 2 weeks Sponsored by: Limelight Networks
Notes
Notes: svn path=/head/; revision=270305
-rw-r--r--sys/cam/ata/ata_da.c8
-rw-r--r--sys/cam/scsi/scsi_da.c8
2 files changed, 16 insertions, 0 deletions
diff --git a/sys/cam/ata/ata_da.c b/sys/cam/ata/ata_da.c
index 433997cd5d44..9209e36ffffe 100644
--- a/sys/cam/ata/ata_da.c
+++ b/sys/cam/ata/ata_da.c
@@ -451,6 +451,14 @@ static struct ada_quirk_entry ada_quirk_table[] =
},
{
/*
+ * Samsung 843T Series SSDs
+ * 4k optimised
+ */
+ { T_DIRECT, SIP_MEDIA_FIXED, "*", "SAMSUNG MZ7WD*", "*" },
+ /*quirks*/ADA_Q_4K
+ },
+ {
+ /*
* SuperTalent TeraDrive CT SSDs
* 4k optimised & trim only works in 4k requests + 4k aligned
*/
diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c
index f6e86479a676..a7a79020e086 100644
--- a/sys/cam/scsi/scsi_da.c
+++ b/sys/cam/scsi/scsi_da.c
@@ -1119,6 +1119,14 @@ static struct da_quirk_entry da_quirk_table[] =
},
{
/*
+ * Samsung 843T Series SSDs
+ * 4k optimised
+ */
+ { T_DIRECT, SIP_MEDIA_FIXED, "ATA", "SAMSUNG MZ7WD*", "*" },
+ /*quirks*/DA_Q_4K
+ },
+ {
+ /*
* SuperTalent TeraDrive CT SSDs
* 4k optimised & trim only works in 4k requests + 4k aligned
*/