From owner-freebsd-hardware Sun Jan 30 20:33:44 2000 Delivered-To: freebsd-hardware@freebsd.org Received: from roma.coe.ufrj.br (roma.coe.ufrj.br [146.164.53.65]) by hub.freebsd.org (Postfix) with ESMTP id C254914E3D for ; Sun, 30 Jan 2000 20:33:34 -0800 (PST) (envelope-from jonny@coe.ufrj.br) Received: (from uucp@localhost) by roma.coe.ufrj.br (8.9.3/8.9.3) id CAA16029 for ; Mon, 31 Jan 2000 02:33:32 -0200 (EDT) (envelope-from jonny@coe.ufrj.br) Received: from localhost.coe.ufrj.br(127.0.0.1), claiming to be "coe.ufrj.br" via SMTP by localhost.coe.ufrj.br, id smtpdF16025; Mon Jan 31 02:33:24 2000 Message-ID: <3895108E.4355268B@coe.ufrj.br> Date: Mon, 31 Jan 2000 02:33:19 -0200 From: =?iso-8859-1?Q?Jo=E3o?= Carlos Mendes =?iso-8859-1?Q?Lu=EDs?= X-Mailer: Mozilla 4.7 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: hardware@freebsd.org Subject: Disable DMA in only one disk, with ata driver Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I have a setup with FreeBSD current and 3 IDE drives (Western Digital). One of them does not work well with DMA, and I'd like to disable DMA for it, but keep it enabled for the others. How can I do that, using the new ata driver? Would it be interesting to have flag options disk by disk specifying which PIO/DMA mode to run? Is it difficult to implement? Something like: 0x0007 - Mask for the higher mode 0x0008 - PIO/DMA 0x0010 - Limit mode Example: flags 0x0012 -> limit to PIO mode 2 flags 0x0019 -> limit to DMA mode 1 Thanks in advance, Jonny PS: Is this the best list for this discussion? -- João Carlos Mendes Luís jonny@jonny.eng.br Networking Engineer jcml@ieee.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message