Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 2003 11:13:50 +0200
From:      Thomas Quinot <thomas@FreeBSD.ORG>
To:        Guillaume <amyfoub@videotron.ca>
Cc:        Thomas Quinot <thomas@FreeBSD.ORG>
Subject:   Re: acd0 vs cd0 (ATAPICAM)
Message-ID:  <20030917091350.GA59292@melusine.cuivre.fr.eu.org>
In-Reply-To: <1063763321.776.2.camel@guillaume.multiweb.ca>
References:  <1062861719.2761.35.camel@guillaume.multiweb.ca> <20030916132228.GG52463@melusine.cuivre.fr.eu.org> <1063763321.776.2.camel@guillaume.multiweb.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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@Cuivre.FR.EU.ORG



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