summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/rc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/isa/rc.c')
-rw-r--r--sys/i386/isa/rc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/i386/isa/rc.c b/sys/i386/isa/rc.c
index e946c58..ae1108a 100644
--- a/sys/i386/isa/rc.c
+++ b/sys/i386/isa/rc.c
@@ -172,6 +172,7 @@ static int rc_rcsrt[16] = {
};
/* Static prototypes */
+static ointhand2_t rcintr;
static void rc_hwreset __P((int, int, unsigned int));
static int rc_test __P((int, int));
static void rc_discard_output __P((struct rc_chans *));
@@ -231,6 +232,8 @@ rcattach(dvp)
static int rc_started = 0;
struct tty *tp;
+ dvp->id_ointr = rcintr;
+
/* Thorooughly test the device */
if (rcb->rcb_probed != RC_PROBED)
return 0;
@@ -278,7 +281,8 @@ rcattach(dvp)
}
/* RC interrupt handling */
-void rcintr(unit)
+static void
+rcintr(unit)
int unit;
{
register struct rc_softc *rcb = &rc_softc[unit];
OpenPOWER on IntegriCloud