include/asm-ppc/platforms/

Keith Owens kaos at ocs.com.au
Fri Nov 30 09:38:36 EST 2001


On Thu, 29 Nov 2001 15:27:41 -0700,
Tom Rini <trini at kernel.crashing.org> wrote:
>On Fri, Nov 30, 2001 at 09:19:20AM +1100, Keith Owens wrote:
>> The make rules I sent to Paul automatically generate platform.h and
>> platform_serial.h by copying the platform specific files to arch/ppc
>> under standard names.  If the platform has no *_serial.h file then
>> platform_serial.h is a zero length file.  So ppc code can always
>>
>> #include <platform.h>
>> #include <platform_serial.h>
>
>So <asm/serial.h> just has the above two lines

Yes.  We don't need no steenking #ifdefs.

>and all platforms need a
>platform/platform_serial.h file for serial to work with this scheme?

No, an empty one is automatically generated if necessary.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list