acd0 vs cd0 (ATAPICAM)

Thomas Quinot thomas at FreeBSD.ORG
Wed Sep 17 02:13:53 PDT 2003


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.

-- 
    Thomas.Quinot at Cuivre.FR.EU.ORG


More information about the freebsd-current mailing list