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/syscons/syscons.c | |
| parent | a782a31edc506a454d032c6f3f87236d04042163 (diff) | |
Notes
Diffstat (limited to 'sys/dev/syscons/syscons.c')
| -rw-r--r-- | sys/dev/syscons/syscons.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c index eba0d36dc0ab..caf072af7188 100644 --- a/sys/dev/syscons/syscons.c +++ b/sys/dev/syscons/syscons.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: syscons.c,v 1.283 1998/10/01 11:39:18 yokota Exp $ + * $Id: syscons.c,v 1.284 1998/10/01 21:04:52 ache Exp $ */ #include "sc.h" @@ -239,6 +239,7 @@ static const int nsccons = MAXCONS+2; /* prototypes */ static int scattach(struct isa_device *dev); +static ointhand2_t scintr; static int scparam(struct tty *tp, struct termios *t); static int scprobe(struct isa_device *dev); static int scvidprobe(int unit, int flags); @@ -645,6 +646,7 @@ scattach(struct isa_device *dev) int vc; #endif + dev->id_ointr = scintr; scinit(); sc_flags = dev->id_flags; if (!ISFONTAVAIL(adp_flags)) @@ -851,7 +853,7 @@ scwrite(dev_t dev, struct uio *uio, int flag) return((*linesw[tp->t_line].l_write)(tp, uio, flag)); } -void +static void scintr(int unit) { static struct tty *cur_tty; |
