2007-06-04 13:25:53 +02:00
|
|
|
Index: nozomi-060209/nozomi.c
|
|
|
|
===================================================================
|
|
|
|
--- nozomi-060209.orig/nozomi.c 2007-06-04 13:22:47.268669352 +0200
|
|
|
|
+++ nozomi-060209/nozomi.c 2007-06-04 13:22:47.338658712 +0200
|
2006-11-04 00:55:49 +01:00
|
|
|
@@ -2093,11 +2093,15 @@
|
|
|
|
|
|
|
|
td->magic = TTY_DRIVER_MAGIC;
|
|
|
|
td->driver_name = NOZOMI_NAME_TTY;
|
|
|
|
+#ifndef CONFIG_DEVFS_FS
|
|
|
|
td->name = "noz";
|
|
|
|
+#else
|
|
|
|
+ td->name = "noz%d";
|
|
|
|
+#endif
|
|
|
|
td->major = NTTY_TTY_MAJOR,
|
|
|
|
td->type = TTY_DRIVER_TYPE_SERIAL,
|
|
|
|
td->subtype = SERIAL_TYPE_NORMAL,
|
|
|
|
- td->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_NO_DEVFS,
|
|
|
|
+ td->flags = TTY_DRIVER_REAL_RAW,
|
|
|
|
td->init_termios = tty_std_termios;
|
|
|
|
td->init_termios.c_cflag = B115200 | CS8 | CREAD | HUPCL | CLOCAL;
|
|
|
|
|