Subject: Re: CVS commit: syssrc/sys/dev/pci
To: Bang Jun-Young <junyoung@mogua.com>
From: Perry E. Metzger <perry@piermont.com>
List: source-changes
Date: 10/29/2002 11:27:52
Bang Jun-Young <junyoung@mogua.com> writes:
> > Can't we remove #ifdef __sparc__ from here? It does not look good at all.
> 
> A number of other device drivers have such #if/#endif in them, too. What's
> wrong with that?

The general policy is to avoid #ifdefs on architecture unless
absolutely needed and to handle machine dependencies with machine
implemented APIs. Other device drivers should *not* have such ifs in
them if we can at all avoid them.

Perry