aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/moxa.h
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2008-04-30 03:53:43 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-30 11:29:42 -0400
commit74d7d97b9e2a090a4b1812b5074ac6c539234ebb (patch)
tree912c68a877a5004f1d2926934837dbb512ce606e /drivers/char/moxa.h
parent0bcc4caadc8f5396b52950ee03c67b76875602df (diff)
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>
Diffstat (limited to 'drivers/char/moxa.h')
-rw-r--r--drivers/char/moxa.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/char/moxa.h b/drivers/char/moxa.h
index 2a38d17cbc1c..49e926dea195 100644
--- a/drivers/char/moxa.h
+++ b/drivers/char/moxa.h
@@ -1,6 +1,14 @@
1#ifndef MOXA_H_FILE 1#ifndef MOXA_H_FILE
2#define MOXA_H_FILE 2#define MOXA_H_FILE
3 3
4#define MOXA 0x400
5#define MOXA_GET_IQUEUE (MOXA + 1) /* get input buffered count */
6#define MOXA_GET_OQUEUE (MOXA + 2) /* get output buffered count */
7#define MOXA_GETDATACOUNT (MOXA + 23)
8#define MOXA_GET_IOQUEUE (MOXA + 27)
9#define MOXA_FLUSH_QUEUE (MOXA + 28)
10#define MOXA_GETMSTATUS (MOXA + 65)
11
4/* 12/*
5 * System Configuration 13 * System Configuration
6 */ 14 */