Files
linux-legacy/include/linux
Alan Cox c26c56c0f4 tty: Cris has a nice RS485 ioctl so we should steal it
JP Tosoni observed:

"About a RS485 ioctl: could you consider the attached files which are
 already in the Linux kernel (in include/asm-cris).  They define a
 TIOCSERSETRS485 (ioctl.h), and the data structure (rs485.h)
 with allows to specify timings. Sounds just like what we want ?"

and he's right: sort of. Rework the structure to use flag bits and make the
time delay a fixed sized field so we don't get 32/64bit problems. Add the ioctls
to x86 so that people know what to add to their platform of choice.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-13 09:51:40 -07:00
..
…
…
…
…
…
…
…
…
…
…
…
2008-09-12 16:30:20 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-10-09 08:56:22 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-10-10 13:37:12 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-10-12 12:05:55 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-10-08 19:44:18 -04:00
…
…
…
…
…
…
…
…
…
…
2008-09-22 07:29:31 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-10-09 11:59:55 -07:00
…
2008-09-22 21:28:11 -07:00
…
…
…
…
2008-10-07 15:34:37 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-10-12 11:44:37 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-10-09 08:56:06 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-10-01 07:03:24 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-10-08 16:38:41 -07:00
…
…
…
…
…
…
…
2008-09-16 19:35:05 -07:00
…
…
…
…
…
…
…
…
…
…
…
2008-10-02 15:53:13 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-09-22 19:51:15 -07:00
…
…
…
…
2008-10-12 12:37:32 +02:00
…
…
…
…
…
…
…
…
…
…
…
2008-10-07 14:22:33 -07:00
…
…
…
…
2008-09-09 17:41:42 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-10-07 14:43:06 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-09-05 14:39:38 -07:00
2008-10-13 09:51:40 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…