1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

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

appearantly fell out during the tty code cleanup.
This commit is contained in:
Poul-Henning Kamp 2005-03-26 20:12:39 +00:00
parent c0be525bed
commit 4a650cc291
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=144154

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