diff --git a/sys/kern/tty.c b/sys/kern/tty.c index 325c62875121..3eb9a2315a56 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();