This is against uml-2.4.27-bs1.patch.bz2; serial console didn't work
for me.  This fixed it, and by comparison with serial.c, it looks
correct.  Please cc me on replies.

Richard


--- linux-2.4.27/arch/um/drivers/ssl.c- 2005-03-18 18:30:09.000000000 +0000
+++ linux-2.4.27/arch/um/drivers/ssl.c  2005-03-18 18:30:16.000000000 +0000
@@ -230,7 +230,7 @@
 
 static kdev_t ssl_console_device(struct console *c)
 {
-       return mk_kdev(TTY_MAJOR, c->index);
+       return mk_kdev(TTY_MAJOR, 64 + c->index);
 }
 
 static int ssl_console_setup(struct console *co, char *options)





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to