Make (some) serial ports implement the PPS-API again. This change
appearantly fell out during the tty code cleanup.
This commit is contained in:
parent
b24419607b
commit
08c3ea8109
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user