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 88aa2cd1d8
commit d55eb47f57

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