diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2003-09-23 16:51:15 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2003-09-23 16:51:15 +0000 |
commit | 6bb276a1685d8546283d224a3d249c66cc329264 (patch) | |
tree | 5e1c80d6cad38a8a82f5832e1e315103e7029eb9 /sys/dev/ic/comvar.h | |
parent | 96675671ec2520ade2f83b31563ab4da72bd443d (diff) |
Replace select backends with poll backends. selscan() and pollscan()
now call the poll backend. With this change we implement greater
poll(2) functionality instead of emulating it via the select backend.
Adapted from NetBSD and including some changes from FreeBSD.
Tested by many, deraadt@ OK
Diffstat (limited to 'sys/dev/ic/comvar.h')
-rw-r--r-- | sys/dev/ic/comvar.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/comvar.h b/sys/dev/ic/comvar.h index e70a88dc68c..fa1e2e34b19 100644 --- a/sys/dev/ic/comvar.h +++ b/sys/dev/ic/comvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: comvar.h,v 1.33 2003/07/15 03:15:58 jason Exp $ */ +/* $OpenBSD: comvar.h,v 1.34 2003/09/23 16:51:12 millert Exp $ */ /* $NetBSD: comvar.h,v 1.5 1996/05/05 19:50:47 christos Exp $ */ /* @@ -79,7 +79,7 @@ struct com_softc { #ifdef __HAVE_GENERIC_SOFT_INTERRUPTS void *sc_si; #else - struct timeout sc_poll_tmo; + struct timeout sc_comsoft_tmo; #endif int sc_overflows; @@ -144,7 +144,7 @@ int comspeed(long, long); u_char com_cflag2lcr(tcflag_t); int comparam(struct tty *, struct termios *); void comstart(struct tty *); -void compoll(void *); +void comsoft(void *); struct consdev; int comcnattach(bus_space_tag_t, int, int, int, tcflag_t); |