diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-06-27 13:10:15 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-07-09 11:55:00 +0200 |
commit | ef8c00bc8873cb4b37ded1bf3e10a346fe2720ed (patch) | |
tree | 1305467e597ff9f95b6d32f9e6114ad3d2c2941a /testsuites/libtests/termios01/termios01.doc | |
parent | score: _Scheduler_Thread_get_own_node() (diff) | |
download | rtems-ef8c00bc8873cb4b37ded1bf3e10a346fe2720ed.tar.bz2 |
termios: PR2153: New low-level device API
Add a new low-level device API to Termios that passes the TTY structure
to the low-level device functions. This greatly simplifies the
low-level device drivers since they are no longer forced to derive their
private data from the minor number.
It makes it possible to use the TTY low-level lock in the device driver
low-level functions which is necessary for proper SMP support. For
example to set the attributes it is often necessary to perform a
read-modify-write operation on a control register used also by interrupt
routines.
A compatibility layer is provided to support device drivers using the
old callback functions so it is not necessary to modify existing device
drivers.
Diffstat (limited to 'testsuites/libtests/termios01/termios01.doc')
-rw-r--r-- | testsuites/libtests/termios01/termios01.doc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuites/libtests/termios01/termios01.doc b/testsuites/libtests/termios01/termios01.doc index 117844dcf8..7d0589c343 100644 --- a/testsuites/libtests/termios01/termios01.doc +++ b/testsuites/libtests/termios01/termios01.doc @@ -24,8 +24,13 @@ directives: cfsetspeed cfsetispeed cfsetospeed + rtems_termios_device_install + rtems_termios_device_remove + rtems_termios_device_open + rtems_termios_device_close concepts: + Exercise termios ioctl for all baud, character size, parity and bits per character options. ++ Ensure that Termios device install/remove works. |