diff options
author | smh <smh@FreeBSD.org> | 2013-07-09 10:41:17 +0000 |
---|---|---|
committer | smh <smh@FreeBSD.org> | 2013-07-09 10:41:17 +0000 |
commit | 90b6002827642df1630344d323a843569947d3b4 (patch) | |
tree | 49caeb2ffb4e1b58bcab7b195311632aed5676e4 /sys/cam | |
parent | 7e76036b6dbd1f88f23c94ac6ec5338c7af6b770 (diff) | |
download | FreeBSD-src-90b6002827642df1630344d323a843569947d3b4.zip FreeBSD-src-90b6002827642df1630344d323a843569947d3b4.tar.gz |
Added 4K QUIRK for OCZ Vertex 4 SSDs
Submitted by: Borja Marcos <borjam@sarenet.es>
MFC after: 2 days
Diffstat (limited to 'sys/cam')
-rw-r--r-- | sys/cam/ata/ata_da.c | 8 | ||||
-rw-r--r-- | sys/cam/scsi/scsi_da.c | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/sys/cam/ata/ata_da.c b/sys/cam/ata/ata_da.c index 721d5b5..6e9c462 100644 --- a/sys/cam/ata/ata_da.c +++ b/sys/cam/ata/ata_da.c @@ -396,6 +396,14 @@ static struct ada_quirk_entry ada_quirk_table[] = }, { /* + * OCZ Vertex 4 SSDs + * 4k optimised & trim only works in 4k requests + 4k aligned + */ + { T_DIRECT, SIP_MEDIA_FIXED, "*", "OCZ-VERTEX4*", "*" }, + /*quirks*/ADA_Q_4K + }, + { + /* * Samsung 830 Series SSDs * 4k optimised */ diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c index 7988309..481567d 100644 --- a/sys/cam/scsi/scsi_da.c +++ b/sys/cam/scsi/scsi_da.c @@ -1031,6 +1031,14 @@ static struct da_quirk_entry da_quirk_table[] = }, { /* + * OCZ Vertex 4 SSDs + * 4k optimised & trim only works in 4k requests + 4k aligned + */ + { T_DIRECT, SIP_MEDIA_FIXED, "ATA", "OCZ-VERTEX4*", "*" }, + /*quirks*/DA_Q_4K + }, + { + /* * Samsung 830 Series SSDs * 4k optimised & trim only works in 4k requests + 4k aligned */ |