From owner-freebsd-scsi@FreeBSD.ORG Thu Feb 2 21:49:09 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C9B316A420; Thu, 2 Feb 2006 21:49:09 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2847E43D48; Thu, 2 Feb 2006 21:49:04 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (junior.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k12Ln1Yk042770; Thu, 2 Feb 2006 14:49:02 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <43E27E58.4020606@samsco.org> Date: Thu, 02 Feb 2006 14:49:12 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051230 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matthew Jacob References: <20060130202806.DCC7916A4CA@hub.freebsd.org> <43DEF43A.6090804@root.org> <20060130213338.H79194@ns1.feral.com> <200601311239.10248.flz@xbsd.org> <43E06B06.80405@root.org> <20060202175041.GA92109@nargothrond.kdm.org> <20060202095828.D97756@ns1.feral.com> <43E252EC.1050803@root.org> <43E25C4D.9020804@samsco.org> <43E2650D.1060109@root.org> <20060202130620.A99168@ns1.feral.com> In-Reply-To: <20060202130620.A99168@ns1.feral.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on pooker.samsco.org Cc: freebsd-scsi@freebsd.org, Florent Thoumie , "Kenneth D. Merry" , Nate Lawson Subject: Re: cvs commit: src/sys/cam/scsi scsi_da.c src/sys/dev/usb umass.c usbdevs X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2006 21:49:09 -0000 Matthew Jacob wrote: >>> >>> You're suggesting that the umass and firewire SIMs universally instruct >>> CAM to not send a SYNC CACHE for all targets? Easy, but I think it's >>> too big of a hammer. I'd like to see the da driver get modified to >>> check the WCE state as has been suggested. >> >> >> I agree, I wasn't clear. I meant that we should use the mode sense >> approach instead of adding quirks all the time for something that's >> endemic to a particular architecture. But if that doesn't work, >> perhaps something specific to USB and Firewire may be appropriate. > > > And how will you distinguish between "not currently enabled" and "not > supported"? > If WCE is not supported, will the device lie and report the WCE bit as set? Scott