[Cbe-oss-dev] [PATCH 11/13] cell: split out board specific files

Arnd Bergmann arnd at arndb.de
Wed May 3 10:18:14 EST 2006


Am Wednesday 03 May 2006 01:38 schrieb Segher Boessenkool:
> > - it requires a few properties in the device tree (local-mac-address,
> >   firmware), so it should also depend on PPC
>
> The portions of code that require OF should have appropriate #ifdef  
> guards.

Why should we? Getting the mac address and the firmware into the
chip is rather essential to make it work. When there is an #ifdef
around that code, it will only produce a non-working driver that can
be compiled everywhere instead of a driver that can only be compiled
on platforms where it has a chance of working.

If someone has the need to make it work somewhere else, it's easy
enough to change to code to whatever other method is used to set up
the chip.

	Arnd <><



More information about the Linuxppc-dev mailing list