summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-08-16 20:45:26 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-08-16 20:45:26 +0000
commitf7691e3b7bce05e8f5d11c126243036cd0ba1343 (patch)
tree1e63145e4f616c27138d6260885c2e9a08ffdb87 /cpukit
parent2f1b9304ac4ba89a2dcb6047cb584a5603a33987 (diff)
downloadrtems-f7691e3b7bce05e8f5d11c126243036cd0ba1343.tar.bz2
2001-08-16 Mike Siers <mikes@poliac.com>
* include/rtems/termiostypes.h, include/sys/ioccom.h: Update of PPPD to 2.3.11 from 2.3.5 touched these files.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/libcsupport/include/rtems/termiostypes.h14
-rw-r--r--cpukit/libcsupport/include/sys/ioccom.h2
2 files changed, 16 insertions, 0 deletions
diff --git a/cpukit/libcsupport/include/rtems/termiostypes.h b/cpukit/libcsupport/include/rtems/termiostypes.h
index 10baa9a15f..fe19bd4cb4 100644
--- a/cpukit/libcsupport/include/rtems/termiostypes.h
+++ b/cpukit/libcsupport/include/rtems/termiostypes.h
@@ -22,6 +22,14 @@ extern "C" {
#endif
/*
+ * Wakeup callback data structure
+ */
+struct ttywakeup {
+ void (*sw_pfn)__P((struct termios *tty, void *arg));
+ void *sw_arg;
+};
+
+/*
* Variables associated with the character buffer
*/
struct rtems_termios_rawbuf {
@@ -111,6 +119,12 @@ struct rtems_termios_tty {
*/
int t_line; /* id of line discipline */
void *t_sc; /* hook for discipline-specific data structure */
+ /*
+ * Wakeup callback variables
+ */
+ struct ttywakeup tty_snd;
+ struct ttywakeup tty_rcv;
+ int tty_rcvwakeup;
};
struct linesw {
diff --git a/cpukit/libcsupport/include/sys/ioccom.h b/cpukit/libcsupport/include/sys/ioccom.h
index 0d15d34b0e..60e16a6c8a 100644
--- a/cpukit/libcsupport/include/sys/ioccom.h
+++ b/cpukit/libcsupport/include/sys/ioccom.h
@@ -69,6 +69,8 @@
#define RTEMS_IO_GET_ATTRIBUTES 1
#define RTEMS_IO_SET_ATTRIBUTES 2
#define RTEMS_IO_TCDRAIN 3
+#define RTEMS_IO_RCVWAKEUP 4
+#define RTEMS_IO_SNDWAKEUP 5
/* copied from libnetworking/sys/filio.h and commented out there */
/* Generic file-descriptor ioctl's. */