Date: Thu, 24 Mar 2016 14:20:33 +0000 (UTC) From: Sean Bruno <sbruno@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r297237 - in head/sys/cam: ata scsi Message-ID: <201603241420.u2OEKXQn025027@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sbruno Date: Thu Mar 24 14:20:33 2016 New Revision: 297237 URL: https://svnweb.freebsd.org/changeset/base/297237 Log: Add 4k enabled cam quirks for Samsung SM863 Series SSDs Submitted by: Jason (j@nitrology.com) MFC after: 2 weeks Sponsored by: Limelight Networks Differential Revision: https://reviews.freebsd.org/D5711 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 Mar 24 13:34:39 2016 (r297236) +++ head/sys/cam/ata/ata_da.c Thu Mar 24 14:20:33 2016 (r297237) @@ -490,6 +490,14 @@ static struct ada_quirk_entry ada_quirk_ }, { /* + * Samsung SM863 Series SSDs + * 4k optimised + */ + { T_DIRECT, SIP_MEDIA_FIXED, "*", "SAMSUNG MZ7KM*", "*" }, + /*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 Mar 24 13:34:39 2016 (r297236) +++ head/sys/cam/scsi/scsi_da.c Thu Mar 24 14:20:33 2016 (r297237) @@ -1162,6 +1162,14 @@ static struct da_quirk_entry da_quirk_ta }, { /* + * Samsung SM863 Series SSDs + * 4k optimised + */ + { T_DIRECT, SIP_MEDIA_FIXED, "ATA", "SAMSUNG MZ7KM*", "*" }, + /*quirks*/DA_Q_4K + }, + { + /* * SuperTalent TeraDrive CT SSDs * 4k optimised & trim only works in 4k requests + 4k aligned */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603241420.u2OEKXQn025027>