Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: syssrc/sys/dev/pci
Bang Jun-Young <junyoung%mogua.com@localhost> 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
Home |
Main Index |
Thread Index |
Old Index