Re: acd0 vs cd0 (ATAPICAM)

From: Bryan Liesner <bleez_at_comcast.net>
Date: Wed, 17 Sep 2003 07:13:26 -0400 (EDT)
On Wed, 17 Sep 2003, Thomas Quinot wrote:

> Le 2003-09-17, Guillaume écrivait :
>
> > > +	if (atapi_dma && atp->channel->dma &&
> > > +	    (atp->param->config & ATA_DRQ_MASK) != ATA_DRQ_INTR)
> > > +	    atp->setmode(atadev, ATA_DMA_MAX);
> > > +	else
> > > +	    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
Received on Wed Sep 17 2003 - 02:13:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:22 UTC