Make (some) serial ports implement the PPS-API again. This change

appearantly fell out during the tty code cleanup.
This commit is contained in:
phk 2005-03-26 20:12:39 +00:00
parent b24419607b
commit 08c3ea8109

View File

@ -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();