From owner-svn-src-all@FreeBSD.ORG Wed Aug 24 13:57:29 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31F37106566B for ; Wed, 24 Aug 2011 13:57:29 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id B56DD8FC12 for ; Wed, 24 Aug 2011 13:57:28 +0000 (UTC) Received: by bkat8 with SMTP id t8so1261747bka.13 for ; Wed, 24 Aug 2011 06:57:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=dsE3iWW4TpsqsIub5viYZwKuluvB6fbIthv2Uc8MWIw=; b=njGqGk7FZusTEsRoTAQs188eFxX477FK3mNBVIx1vHlS6442OLA+4J7pnBDvaEqH7v Mf5FGMtoPgLe5UrV88PMgD64hJpLxeQj1CFpfcyKRU3KkIlRfwmF0LJ4vcGj1M3sjhcu WRe90K6HOuW60pc6gJk+6mhfL1reGb28Y/DeQ= Received: by 10.204.7.214 with SMTP id e22mr2260369bke.102.1314194247343; Wed, 24 Aug 2011 06:57:27 -0700 (PDT) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id l12sm293701bkk.63.2011.08.24.06.57.25 (version=SSLv3 cipher=OTHER); Wed, 24 Aug 2011 06:57:25 -0700 (PDT) Sender: Alexander Motin Message-ID: <4E550320.2030204@FreeBSD.org> Date: Wed, 24 Aug 2011 16:56:48 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Goran Lowkrantz References: <201105310922.p4V9MqYY016057@svn.freebsd.org> In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: svn-src-all@freebsd.org Subject: Re: svn commit: r222520 - head/sys/cam/ata X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2011 13:57:29 -0000 Goran Lowkrantz wrote: > --On May 31, 2011 9:22:52 +0000 Alexander Motin wrote: >> Author: mav >> Date: Tue May 31 09:22:52 2011 >> New Revision: 222520 >> URL: http://svn.freebsd.org/changeset/base/222520 >> >> Log: >> Add quirks to hint 4K physical sector (Advanced Format) for ATA disks >> not reporting it properly (none? of known disks now). >> >> Hitachi and WDC AF disks seem could be identified more or less >> formally. >> For Seagate and Samsung enumerate some found models/series. >> For other disks it can be forced with kern.cam.ada.X.quirks=1 tunable. > > Should this work with SAS/SATA cards like LSI 2008 (mps) too? No. In that case controller or driver emulate SCSI disk devices. At this moment "da" driver has no idea about physical sector size. I've paused my work on full physical sector support due to lack of respective hardware, but porting only these quirks should not be difficult. -- Alexander Motin