aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/rc/rc.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2000-10-25 21:24:08 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2000-10-25 21:24:08 +0000
commitfbc9c4f0425af3613ff0e70b25a37785d02e605f (patch)
treeb3429ee3160c95955c95eeb82ff12927c4273b00 /sys/dev/rc/rc.c
parent49e0078b0f0f3ac31278b74d2542e25085a4fb3a (diff)
downloadsrc-fbc9c4f0425af3613ff0e70b25a37785d02e605f.tar.gz
src-fbc9c4f0425af3613ff0e70b25a37785d02e605f.zip
Catch up to the new software interrupt code.
Noticed by: phk
Notes
Notes: svn path=/head/; revision=67585
Diffstat (limited to 'sys/dev/rc/rc.c')
-rw-r--r--sys/dev/rc/rc.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/rc/rc.c b/sys/dev/rc/rc.c
index fc35bd5d3e72..11da8ac39bd9 100644
--- a/sys/dev/rc/rc.c
+++ b/sys/dev/rc/rc.c
@@ -39,6 +39,7 @@
#include <sys/param.h>
#include <sys/systm.h>
+#include <sys/ipl.h>
#include <sys/kernel.h>
#include <sys/tty.h>
#include <sys/proc.h>
@@ -184,7 +185,7 @@ static int rc_modctl __P((struct rc_chans *, int, int));
static void rc_start __P((struct tty *));
static void rc_stop __P((struct tty *, int rw));
static int rc_param __P((struct tty *, struct termios *));
-static swihand_t rcpoll;
+static void rcpoll __P((void *));
static void rc_reinit __P((struct rc_softc *));
#ifdef RCDEBUG
static void printrcflags();
@@ -559,7 +560,7 @@ out:
}
/* Handle delayed events. */
-void rcpoll()
+void rcpoll(void *arg)
{
register struct rc_chans *rc;
register struct rc_softc *rcb;
@@ -1423,7 +1424,7 @@ rc_wakeup(chan)
int s;
s = splsofttty();
- rcpoll();
+ rcpoll(NULL);
splx(s);
}
}