Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2019 20:22:22 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r346414 - stable/12/sys/cam/scsi
Message-ID:  <201904192022.x3JKMM3U025741@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Fri Apr 19 20:22:21 2019
New Revision: 346414
URL: https://svnweb.freebsd.org/changeset/base/346414

Log:
  MFC: 342657, 345025
  
  Quirks for Chipfancier chips. Their READ CAPACITY 10 and READ CAPACITY
  16 values differ, and the default of using RC16 gets the improper one.

Modified:
  stable/12/sys/cam/scsi/scsi_da.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/cam/scsi/scsi_da.c
==============================================================================
--- stable/12/sys/cam/scsi/scsi_da.c	Fri Apr 19 20:09:13 2019	(r346413)
+++ stable/12/sys/cam/scsi/scsi_da.c	Fri Apr 19 20:22:21 2019	(r346414)
@@ -858,6 +858,15 @@ static struct da_quirk_entry da_quirk_table[] =
 		{T_DIRECT, SIP_MEDIA_REMOVABLE, "I-O DATA", "USB Flash Disk*",
 		 "*"}, /*quirks*/ DA_Q_NO_RC16
 	},
+	{
+		/*
+		 * SLC CHIPFANCIER USB drives
+		 * PR: usb/234503 (RC10 right, RC16 wrong)
+		 * 16GB, 32GB and 128GB confirmed to have same issue
+		 */
+		{T_DIRECT, SIP_MEDIA_REMOVABLE, "*SLC", "CHIPFANCIER",
+		 "*"}, /*quirks*/ DA_Q_NO_RC16
+       },
 	/* ATA/SATA devices over SAS/USB/... */
 	{
 		/* Hitachi Advanced Format (4k) drives */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904192022.x3JKMM3U025741>