svn commit: r196568 - head/sys/cam/scsi

Stanislav Sedov stas at FreeBSD.org
Wed Aug 26 21:14:28 UTC 2009


Author: stas
Date: Wed Aug 26 21:14:28 2009
New Revision: 196568
URL: http://svn.freebsd.org/changeset/base/196568

Log:
  - Add quirk for Sony DSC digital cameras.  This umass devices fail
    to attach without these quirks applied.
  
  PR:		usb/137035
  URL:		http://lists.freebsd.org/pipermail/freebsd-current/2009-August/010852.html
  Reported by:	Henri Hennebert <hlh at restart.be>, Andrey V. Elsukov <bu7cher at yandex.ru>
  MFC after:	1 week

Modified:
  head/sys/cam/scsi/scsi_da.c

Modified: head/sys/cam/scsi/scsi_da.c
==============================================================================
--- head/sys/cam/scsi/scsi_da.c	Wed Aug 26 21:10:47 2009	(r196567)
+++ head/sys/cam/scsi/scsi_da.c	Wed Aug 26 21:14:28 2009	(r196568)
@@ -554,6 +554,14 @@ static struct da_quirk_entry da_quirk_ta
 	{
 		{T_DIRECT, SIP_MEDIA_REMOVABLE, "Netac", "OnlyDisk*",
 		 "2000"}, /*quirks*/ DA_Q_NO_SYNC_CACHE
+	},
+	{
+		/*
+		 * Sony Cyber-Shot DSC cameras
+		 * PR: usb/137035
+		 */
+		{T_DIRECT, SIP_MEDIA_REMOVABLE, "Sony", "Sony DSC", "*"},
+		/*quirks*/ DA_Q_NO_SYNC_CACHE | DA_Q_NO_PREVENT
 	}
 };
 


More information about the svn-src-head mailing list