[PATCH] Fix srmcons tty_operations

From: Marc Zyngier (mzyngier@freesurf.fr)
Date: Thu Jun 12 2003 - 04:21:14 EST


Al,

The included patch fixes srmcons by adding a missing
tty_set_operations. Booted the patched kernel on a test box with
success.

Thanks,

        M.

===== arch/alpha/kernel/srmcons.c 1.5 vs edited =====
--- 1.5/arch/alpha/kernel/srmcons.c Wed Jun 11 21:33:05 2003
+++ edited/arch/alpha/kernel/srmcons.c Thu Jun 12 11:10:35 2003
@@ -291,6 +291,7 @@
                 driver->type = TTY_DRIVER_TYPE_SYSTEM;
                 driver->subtype = SYSTEM_TYPE_SYSCONS;
                 driver->init_termios = tty_std_termios;
+ tty_set_operations(driver, &srmcons_ops);
                 err = tty_register_driver(driver);
                 if (err) {
                         put_tty_driver(driver);

-- 
Places change, faces change. Life is so very strange.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:31 EST