From owner-freebsd-current@FreeBSD.ORG Mon May 26 04:58:47 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8B991065759 for ; Mon, 26 May 2008 04:58:47 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from smtp8.yandex.ru (smtp8.yandex.ru [213.180.200.213]) by mx1.freebsd.org (Postfix) with ESMTP id F05DF8FC16 for ; Mon, 26 May 2008 04:58:46 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from ns.kirov.so-cdu.ru ([77.72.136.145]:28136 "EHLO [127.0.0.1]" smtp-auth: "bu7cher" TLS-CIPHER: "DHE-RSA-AES256-SHA keybits 256/256 version TLSv1/SSLv3" TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S7455943AbYEZElJ (ORCPT ); Mon, 26 May 2008 08:41:09 +0400 X-Yandex-Spam: 1 X-Yandex-Front: smtp8 X-Yandex-TimeMark: 1211776869 X-MsgDayCount: 4 X-Comment: RFC 2476 MSA function at smtp8.yandex.ru logged sender identity as: bu7cher Message-ID: <483A3F5D.8080408@yandex.ru> Date: Mon, 26 May 2008 08:41:01 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: phoemix@harmless.hu, freebsd-current@freebsd.org References: <20080523155635.054f5ec4@twoflower.in.publishing.hu> <20080523152056.GA14884@wep4017.physik.uni-wuerzburg.de> In-Reply-To: <20080523152056.GA14884@wep4017.physik.uni-wuerzburg.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: =?UTF-8?B?U8O4cmVuIFNjaG1pZHQ=?= Subject: Re: ata mode at startup X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2008 04:58:47 -0000 Alexey Shuvaev wrote: > I think such a thing should be set much earlier than in rc script, > somewhere in loader.conf(5) and it is already done. >>From ata(4): > [snip] > The following tunables are settable from the loader: > hw.ata.ata_dma > set to 1 for DMA access, 0 for PIO (default is DMA). > hw.ata.atapi_dma > set to 1 for DMA access, 0 for PIO (default is DMA). What about using string values for these knobs, similar to atacontrol's modes? -- WBR, Andrey V. Elsukov