From owner-freebsd-drivers@FreeBSD.ORG Fri Jul 25 14:43:39 2008 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0736106567A for ; Fri, 25 Jul 2008 14:43:39 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from plato.miralink.com (mail.miralink.com [70.103.185.20]) by mx1.freebsd.org (Postfix) with ESMTP id CDCEE8FC19 for ; Fri, 25 Jul 2008 14:43:39 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by plato.miralink.com (Postfix) with ESMTP id 05E8C1A90C4; Fri, 25 Jul 2008 07:41:22 -0700 (PDT) X-Virus-Scanned: amavisd-new at X-Spam-Flag: NO X-Spam-Score: -4.272 X-Spam-Level: X-Spam-Status: No, score=-4.272 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1.8, AWL=0.127, BAYES_00=-2.599] Received: from plato.miralink.com ([127.0.0.1]) by localhost (plato.miralink.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hFkpG38k6beo; Fri, 25 Jul 2008 07:41:21 -0700 (PDT) Received: from [10.47.1.10] (vpn.office.miralink.com [10.0.0.5]) by plato.miralink.com (Postfix) with ESMTP id 782A61A90C2; Fri, 25 Jul 2008 07:41:21 -0700 (PDT) Message-ID: <4889E699.3050606@miralink.com> Date: Fri, 25 Jul 2008 07:43:37 -0700 From: Sean Bruno User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: "Andrey V. Elsukov" References: <4839F473.6070109@miralink.com> <4889A415.1060309@yandex.ru> <4889A712.7090204@yandex.ru> In-Reply-To: <4889A712.7090204@yandex.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-drivers@freebsd.org, =?UTF-8?B?U8O4cmVuIFNjaG1pZHQ=?= Subject: Re: ATA patch for RELENG_6 ... a patch looking for a good home X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2008 14:43:40 -0000 Andrey V. Elsukov wrote: > Andrey V. Elsukov wrote: >> What you think about attached patch? >> It can resolve your problem and shouldn't break anything. >> With this patch you can set mode in /boot/device.hints, for >> example: >> hint.ad.0.mode="UDMA33" >> hint.ad.1.mode="UDMA100" >> >> These limits work only on boot stage, after boot completed you can >> change mode via atacontrol. > My issue was that the boot device itself was the flash module from Transcend. Setting the speed via atacontrol after the system booted was not preferred as the root device _was_ the Transcend. Does that make sense? > Also, this is the same patch, but it doesn't allow override maximum > mode in device.hints. I don't know which patch is preferable, I think > second one. > I'll try both and get back to you. -- Sean Bruno MiraLink Corporation 6015 NE 80th Ave, Ste 100 Portland, OR 97218 Cell 503-358-6832 Phone 503-621-5143 Fax 503-621-5199 MSN: sbruno@miralink.com Google: seanwbruno@gmail.com