Commit Graph

27 Commits

Author SHA1 Message Date
Florian Pose
6ad16e7e67 Added kernel-specific handling for init_timer/setup_timer and
access_ok() for ec_tty module and example.
Closes #2.
2021-04-09 12:26:08 +02:00
Florian Pose
b6cace3df1 Support changed tty_prepare_flip_string() interface from kernel 3.9. 2016-10-18 10:20:21 +02:00
Florian Pose
a2da5180b8 TTY: termios structure was included in 'struct tty' with kernel 3.7. 2013-02-12 11:52:03 +01:00
Florian Pose
f601bbf249 TTY ioctl() file parameter was dropped in kernel 2.6.39. 2013-02-12 11:34:54 +01:00
Florian Pose
b0b7e6fde4 Removed trailing spaces. 2012-09-06 20:22:24 +02:00
Florian Pose
bd56747e3e Removed whitespace. 2012-07-13 10:42:31 +02:00
Florian Pose
f739694670 Improved compiling on 2.6.34 (thanks to Malcolm Lewis). 2010-10-25 16:45:33 +02:00
Florian Pose
aba214160a Removed TIOCSSERIAL because it doesn't make sense for virtual tty interfaces. 2010-04-20 11:21:43 +02:00
Florian Pose
94485eeec1 Replaced deprecated init_MUTEX in tty code. 2010-02-16 11:16:05 +01:00
Florian Pose
1b1f62c0af Allow multiple open() calls to tty devices. 2010-02-02 14:10:52 +01:00
Florian Pose
f42953a87a Minor change. 2010-01-26 16:43:08 +01:00
Florian Pose
c6bf2d73fc Pass initial cflag to device-specific implementation in constructor. 2010-01-25 18:32:45 +01:00
Florian Pose
d910657cf8 Callback set via own structure. 2010-01-25 17:42:07 +01:00
Florian Pose
4d00c17e05 Sorted methods. 2010-01-25 16:15:56 +01:00
Florian Pose
018507a22e Implemented setting of baud rate, data frame and RTS/CTS. 2010-01-22 14:10:18 +01:00
Florian Pose
127ad90aa7 Request initial configuration on tty open. 2010-01-22 11:02:04 +01:00
Florian Pose
a98da94149 Passing tty cflag to serial implementation. 2010-01-21 17:53:40 +01:00
Florian Pose
f6c0de7723 Basic configuration for tty. 2010-01-21 16:41:41 +01:00
Florian Pose
386ba8b8ee Implemented tty put_char and break_ctl callbacks for kernels newer than 2.6.26
or 2.6.27, respectively.
2010-01-08 10:34:29 +01:00
Florian Pose
06bad71e6b Implemented reading direction of tty driver. 2009-12-09 12:42:28 +01:00
Florian Pose
6dbc77cd62 Send direction works! 2009-12-02 15:38:10 +01:00
Florian Pose
e2279c8715 Removed semaphore header. 2009-12-01 22:19:13 +01:00
Florian Pose
efb02691c1 TTY open and close. 2009-12-01 22:16:50 +01:00
Florian Pose
e5bcaeefcd Use own PFX for printk. 2009-12-01 22:03:50 +01:00
Florian Pose
866c82a4a8 Interface management. 2009-12-01 21:45:45 +01:00
Florian Pose
fdad28ad05 Register a TTY driver with one device. 2009-12-01 17:35:33 +01:00
Florian Pose
40943a197d Base files for new TTY driver. 2009-11-30 18:02:29 +01:00