TTY: automatically create nodes for some drivers
This looks like it was a mistake not to create device nodes for these drivers. Let us create them from now on. It will be necessary to call tty_register_device some way, either by tty_register_driver implicitly or to call tty_register_device proper. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: netdev@vger.kernel.org Cc: linux390@de.ibm.com Cc: linux-s390@vger.kernel.org Cc: linux-cris-kernel@axis.com Acked-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Esse commit está contido em:
@@ -4443,7 +4443,7 @@ static int __init rs_init(void)
|
||||
B115200 | CS8 | CREAD | HUPCL | CLOCAL; /* is normally B9600 default... */
|
||||
driver->init_termios.c_ispeed = 115200;
|
||||
driver->init_termios.c_ospeed = 115200;
|
||||
driver->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_DYNAMIC_DEV;
|
||||
driver->flags = TTY_DRIVER_REAL_RAW;
|
||||
|
||||
tty_set_operations(driver, &rs_ops);
|
||||
serial_driver = driver;
|
||||
|
Referência em uma nova issue
Block a user