Skip to contentSkip to conversation

patch to make serial console work

uml-devel Richard Hirst 1 participant 1 message Mar 18, 2005 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

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

arch/um/drivers/ssl.c 2005-03-18 18:30:16.000000000 +0000 renamed from arch/um/drivers/ssl.c- 2005-03-18 18:30:09.000000000 +0000 +1 -1
@@ -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