acd0 vs cd0 (ATAPICAM)

Bryan Liesner bleez at comcast.net
Wed Sep 17 04:13:29 PDT 2003


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


More information about the freebsd-current mailing list