summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/tty.c')
-rw-r--r--sys/kern/tty.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c
index 325c628..3eb9a23 100644
--- a/sys/kern/tty.c
+++ b/sys/kern/tty.c
@@ -914,6 +914,12 @@ ttioctl(struct tty *tp, u_long cmd, void *data, int flag)
}
}
+ if (tp->t_pps != NULL) {
+ error = pps_ioctl(cmd, data, tp->t_pps);
+ if (error != ENOIOCTL)
+ return (error);
+ }
+
switch (cmd) { /* Process the ioctl. */
case FIOASYNC: /* set/clear async i/o */
s = spltty();
OpenPOWER on IntegriCloud