Subject: Re: atareg.h macro naming rule
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-kern
Date: 11/28/2003 09:49:05
On Fri, Nov 28, 2003 at 10:06:25AM +0900, YAMAMOTO Takashi wrote:
> hi,
> 
> > > > they seem very inconsisitent to me.
> > > > i'd like to add definitions for some new bits
> > > > but i'm not sure which prefix i should use.
> > > > WDC_CMD2_, WDC_CAP_, ATA_CMD2_, or something else?
> > > 
> > > WDC_ is for ata/atapi, ATA_ is for ata only.
> > 
> > Yes.
> > I didn't check recently, but I don't think there are atapi-specific bits yet
> > (at last not in our atareg.h file)
> 
> we have ATA_CMD2_APM, ATA_CMD2_CFA, ATA_CMD2_RWQ.
> all of them are not atapi specific, IIRC.

No, these are ATA specific. 

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
     NetBSD: 24 ans d'experience feront toujours la difference
--