From owner-freebsd-current@FreeBSD.ORG Wed Sep 17 04:13:29 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F03516A4B3; Wed, 17 Sep 2003 04:13:29 -0700 (PDT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EAA343F75; Wed, 17 Sep 2003 04:13:28 -0700 (PDT) (envelope-from bleez@comcast.net) Received: from gravy.homeunix.net ([68.81.196.221]) by comcast.net (rwcrmhc12) with ESMTP id <20030917111327014009290re>; Wed, 17 Sep 2003 11:13:27 +0000 Received: from gravy.homeunix.net (gravy.homeunix.net [192.168.1.2]) by gravy.homeunix.net (8.12.9/8.12.9) with ESMTP id h8HBDQ9R000462; Wed, 17 Sep 2003 07:13:26 -0400 (EDT) (envelope-from bleez@comcast.net) Date: Wed, 17 Sep 2003 07:13:26 -0400 (EDT) From: Bryan Liesner To: Thomas Quinot In-Reply-To: <20030917091350.GA59292@melusine.cuivre.fr.eu.org> Message-ID: <20030917070959.L458@gravy.homeunix.net> References: <1062861719.2761.35.camel@guillaume.multiweb.ca> <1063763321.776.2.camel@guillaume.multiweb.ca> <20030917091350.GA59292@melusine.cuivre.fr.eu.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE cc: current@freebsd.org Subject: Re: acd0 vs cd0 (ATAPICAM) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 17 Sep 2003 11:13:29 -0000 On Wed, 17 Sep 2003, Thomas Quinot wrote: > Le 2003-09-17, Guillaume =E9crivait : > > > > +=09if (atapi_dma && atp->channel->dma && > > > +=09 (atp->param->config & ATA_DRQ_MASK) !=3D ATA_DRQ_INTR) > > > +=09 atp->setmode(atadev, ATA_DMA_MAX); > > > +=09else > > > +=09 atp->setmode(atadev, ATA_PIO_MAX); > > Ahem. Replace atadev with atp on both lines... > > Thomas. The patch seems to work, my cd0 and cd1 lines in the dmesg now report 33.000 MB/s insetad of 3.300 MB/s. -Bryan