[parisc-linux] [PATCH 2.5] More serial console hack...

Marc Zyngier mzyngier@freesurf.fr
Thu, 03 Jul 2003 10:03:20 +0200


Hi all,

Until then, I couldn't get a serial console to work on my C100 when
running 2.5 (2.4 is OK). So I finally had time to look at it...

I just put in the same hack 8250_pci has... Looks horrible, but at
least it allows me to get a working console.

I suppose the real problem is that console_initcall is being called
much too late in the boot process, which leads to all those
PA-specific hacks in 8250*. Is there any plan on how to solve that ?

Regards,

            M.

--- ../vanilla/linux-2.5.73/drivers/serial/8250_gsc.c	2003-07-02 11:10:27.000000000 +0200
+++ linux-current/drivers/serial/8250_gsc.c	2003-07-02 15:24:26.000000000 +0200
@@ -131,6 +131,11 @@
 {
 	register_parisc_driver(&lasi_driver);
 	register_parisc_driver(&serial_driver);
+
+#if defined(CONFIG_SERIAL_8250_CONSOLE)
+        serial8250_console_init();
+#endif
+
 	return 0;
 }
 

-- 
Places change, faces change. Life is so very strange.