Add makeamitbin to generate images for other RDC-based devices, thanks sn9 !
[openwrt/crisos.git] / package / nozomi / patches / 001-devfs.patch
blob742409ec6862f80ab38104a415e276c1cc7d2a48
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 @@
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;