[hotplug2] Move hotplug2 v0.9 to hotplug2-old
[openwrt.git] / package / nozomi / patches / 001-devfs.patch
1 Index: nozomi-060209/nozomi.c
2 ===================================================================
3 --- nozomi-060209.orig/nozomi.c 2007-06-04 13:22:47.268669352 +0200
4 +++ nozomi-060209/nozomi.c 2007-06-04 13:22:47.338658712 +0200
5 @@ -2093,11 +2093,15 @@
6
7 td->magic = TTY_DRIVER_MAGIC;
8 td->driver_name = NOZOMI_NAME_TTY;
9 +#ifndef CONFIG_DEVFS_FS
10 td->name = "noz";
11 +#else
12 + td->name = "noz%d";
13 +#endif
14 td->major = NTTY_TTY_MAJOR,
15 td->type = TTY_DRIVER_TYPE_SERIAL,
16 td->subtype = SERIAL_TYPE_NORMAL,
17 - td->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_NO_DEVFS,
18 + td->flags = TTY_DRIVER_REAL_RAW,
19 td->init_termios = tty_std_termios;
20 td->init_termios.c_cflag = B115200 | CS8 | CREAD | HUPCL | CLOCAL;
21
This page took 0.040703 seconds and 5 git commands to generate.