trini at kernel.crashing.org
Fri Nov 30 09:46:10 EST 2001
On Fri, Nov 30, 2001 at 09:38:36AM +1100, Keith Owens wrote:
> 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.
So yes, for CONFIG_SERIAL to work, the file needs to exist. Which has
the downside that at least a handful of platforms will need to cp
Tom Rini (TR1265)
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev