diff options
Diffstat (limited to 'sys/dev/sbus')
-rw-r--r-- | sys/dev/sbus/magma.c | 3 | ||||
-rw-r--r-- | sys/dev/sbus/spif.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/sbus/magma.c b/sys/dev/sbus/magma.c index 8d44f4254ea..f79c7f8413d 100644 --- a/sys/dev/sbus/magma.c +++ b/sys/dev/sbus/magma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: magma.c,v 1.17 2008/11/29 05:56:41 deraadt Exp $ */ +/* $OpenBSD: magma.c,v 1.18 2009/10/31 06:40:17 deraadt Exp $ */ /*- * Copyright (c) 1998 Iain Hibbert @@ -1123,6 +1123,7 @@ mtty_start(struct tty *tp) } selwakeup(&tp->t_wsel); + KNOTE(&tp->t_wsel.si_note, 0); } /* if something to send, start transmitting diff --git a/sys/dev/sbus/spif.c b/sys/dev/sbus/spif.c index 830180322ad..febec144e0c 100644 --- a/sys/dev/sbus/spif.c +++ b/sys/dev/sbus/spif.c @@ -1,4 +1,4 @@ -/* $OpenBSD: spif.c,v 1.13 2006/03/04 13:00:55 miod Exp $ */ +/* $OpenBSD: spif.c,v 1.14 2009/10/31 06:40:17 deraadt Exp $ */ /* * Copyright (c) 1999-2002 Jason L. Wright (jason@thought.net) @@ -746,6 +746,7 @@ stty_start(tp) wakeup(&tp->t_outq); } selwakeup(&tp->t_wsel); + KNOTE(&tp->t_wsel.si_note, 0); } if (tp->t_outq.c_cc) { sp->sp_txc = ndqb(&tp->t_outq, 0); |