include/asm-ppc/platforms/

Paul Mackerras paulus at samba.org
Thu Nov 29 21:57:07 EST 2001


Adrian Cox writes:

> All my boards now use early_serial_setup() instead of a platform header
> file. This approach is simple to write, and requires no modifications
> outside the platform_setup.c file. I'd rather not go back to providing
> platform specific serial definitions in a header file.

I have just realized again that this is not possible if the serial
driver is built as a module, since you don't get the chance to call
early_serial_init between when it is loaded and when rs_init (which is
the module init function) is called.

Paul.

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





More information about the Linuxppc-dev mailing list