Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 2003 07:13:26 -0400 (EDT)
From:      Bryan Liesner <bleez@comcast.net>
To:        Thomas Quinot <thomas@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: acd0 vs cd0 (ATAPICAM)
Message-ID:  <20030917070959.L458@gravy.homeunix.net>
In-Reply-To: <20030917091350.GA59292@melusine.cuivre.fr.eu.org>
References:  <1062861719.2761.35.camel@guillaume.multiweb.ca> <1063763321.776.2.camel@guillaume.multiweb.ca> <20030917091350.GA59292@melusine.cuivre.fr.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030917070959.L458>