summaryrefslogtreecommitdiffstats
path: root/sys/cam/ata
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2013-05-11 23:13:49 +0000
committereadler <eadler@FreeBSD.org>2013-05-11 23:13:49 +0000
commitcddefa478945bff73b83f26b86715ade4e0b3d0b (patch)
tree8ea55f283b945c2be0e61467bd72f38a711cb787 /sys/cam/ata
parent3d78b5fc96602fac45fc367cf3968776ce627e2a (diff)
downloadFreeBSD-src-cddefa478945bff73b83f26b86715ade4e0b3d0b.zip
FreeBSD-src-cddefa478945bff73b83f26b86715ade4e0b3d0b.tar.gz
Intel's 320-series and 510-series SSDs advertise 512-byte sectors
sizes for both logical and physical. Add ADA_Q_4K quirks for both. PR: kern/178040 Submitted by: Jeremy Chadwick <jdc@koitsu.org>
Diffstat (limited to 'sys/cam/ata')
-rw-r--r--sys/cam/ata/ata_da.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys/cam/ata/ata_da.c b/sys/cam/ata/ata_da.c
index 9010e1f..0162fce 100644
--- a/sys/cam/ata/ata_da.c
+++ b/sys/cam/ata/ata_da.c
@@ -350,6 +350,14 @@ static struct ada_quirk_entry ada_quirk_table[] =
},
{
/*
+ * Intel 320 Series SSDs
+ * 4k optimised & trim only works in 4k requests + 4k aligned
+ */
+ { T_DIRECT, SIP_MEDIA_FIXED, "*", "INTEL SSDSA2CW*", "*" },
+ /*quirks*/ADA_Q_4K
+ },
+ {
+ /*
* Intel 330 Series SSDs
* 4k optimised & trim only works in 4k requests + 4k aligned
* Submitted by: Steven Hartland <steven.hartland@multiplay.co.uk>
@@ -360,6 +368,14 @@ static struct ada_quirk_entry ada_quirk_table[] =
},
{
/*
+ * Intel 510 Series SSDs
+ * 4k optimised & trim only works in 4k requests + 4k aligned
+ */
+ { T_DIRECT, SIP_MEDIA_FIXED, "*", "INTEL SSDSC2MH*", "*" },
+ /*quirks*/ADA_Q_4K
+ },
+ {
+ /*
* OCZ Deneva R Series SSDs
* 4k optimised & trim only works in 4k requests + 4k aligned
* Submitted by: Steven Hartland <steven.hartland@multiplay.co.uk>
OpenPOWER on IntegriCloud