Subject: Re: Incoming to hostme.bitkeeper.com:/ua/repos/p/ppc/linuxppc_2_4_devel

From: Dan Malek <[email-masked]>
Date: Thu, 08 Nov 2001 18:06:06 -0500

Tom Rini wrote:

> Yes, but then you end up....

Not what I had in mind :-).

For example, in include/asm-ppc/mpc8xx.h:
	#define piggy_serial_init()	mpc_serial_init(bp)

...and in include/asm-ppc/ibm4xx.h
	#define piggy_serial_init()	serial_init(0)

...and in misc-embedded.c change you list of #ifdefs to be:
	piggy_serial_init();

If the individual boards need some different initialization, just
move the macro to a lower level include file.

	-- Dan

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