summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/sio.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/isa/sio.c')
-rw-r--r--sys/i386/isa/sio.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/i386/isa/sio.c b/sys/i386/isa/sio.c
index b0ad5fc..8a6f603 100644
--- a/sys/i386/isa/sio.c
+++ b/sys/i386/isa/sio.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
- * $Id: sio.c,v 1.214 1998/08/23 10:16:26 bde Exp $
+ * $Id: sio.c,v 1.215 1998/09/13 22:15:44 eivind Exp $
*/
#include "opt_comconsole.h"
@@ -310,6 +310,7 @@ static int sioattach __P((struct isa_device *dev));
static timeout_t siobusycheck;
static timeout_t siodtrwakeup;
static void comhardclose __P((struct com_s *com));
+static ointhand2_t siointr;
static void siointr1 __P((struct com_s *com));
static int commctl __P((struct com_s *com, int bits, int how));
static int comparam __P((struct tty *tp, struct termios *t));
@@ -881,6 +882,7 @@ sioattach(isdp)
int s;
int unit;
+ isdp->id_ointr = siointr;
isdp->id_ri_flags |= RI_FAST;
iobase = isdp->id_iobase;
unit = isdp->id_unit;
@@ -1469,7 +1471,7 @@ siodtrwakeup(chan)
wakeup(&com->dtr_wait);
}
-void
+static void
siointr(unit)
int unit;
{
OpenPOWER on IntegriCloud