diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1998-10-22 05:58:45 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1998-10-22 05:58:45 +0000 |
| commit | fe310de802ddb8e453de4e7fd7e7d6302d071905 (patch) | |
| tree | 65beace35d77f90e6033287861af9d0100eb75c9 /sys/dev/rc | |
| parent | a782a31edc506a454d032c6f3f87236d04042163 (diff) | |
Notes
Diffstat (limited to 'sys/dev/rc')
| -rw-r--r-- | sys/dev/rc/rc.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/rc/rc.c b/sys/dev/rc/rc.c index e946c5876ef3..ae1108a8e1da 100644 --- a/sys/dev/rc/rc.c +++ b/sys/dev/rc/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]; |
