]> err.no Git - linux-2.6/commit
Char: moxa, ioctl cleanup
authorJiri Slaby <jirislaby@gmail.com>
Wed, 30 Apr 2008 07:53:43 +0000 (00:53 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Apr 2008 15:29:42 +0000 (08:29 -0700)
commit74d7d97b9e2a090a4b1812b5074ac6c539234ebb
tree912c68a877a5004f1d2926934837dbb512ce606e
parent0bcc4caadc8f5396b52950ee03c67b76875602df
Char: moxa, ioctl cleanup

- allow stats only for sys_admin
- move TCSBRK* processing to .break_ctl tty op
- let TIOCGSOFTCAR and TIOCSSOFTCAR be processed by ldisc
- remove MOXA_GET_MAJOR, MOXA_GET_CUMAJOR
- fix jiffies subtraction by time_after
- move moxa ioctl numbers into the header; still not exported to userspace,
  needs _IOC and 32/64 compat cleanup anyways

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Tested-by: Oyvind Aabling <Oyvind.Aabling@uni-c.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/moxa.c
drivers/char/moxa.h