From bca885205da7f15208946f0896edc2eda3caff01 Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 6 Sep 1996 23:09:20 +0000 Subject: Remove devconf, it never grew up to be of any use. --- sys/i386/isa/cx.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'sys/i386/isa/cx.c') diff --git a/sys/i386/isa/cx.c b/sys/i386/isa/cx.c index 75af7e8..cc9b3b9 100644 --- a/sys/i386/isa/cx.c +++ b/sys/i386/isa/cx.c @@ -38,8 +38,6 @@ # if __FreeBSD__ < 2 # include # define RB_GETC(q) getc(q) -# else /* BSD 4.4 Lite */ -# include # endif #endif #ifdef __bsdi__ @@ -84,7 +82,6 @@ timeout_t cxtimeout; extern cx_board_t cxboard [NCX]; /* adapter state structures */ extern cx_chan_t *cxchan [NCX*NCHAN]; /* unit to channel struct pointer */ #if __FreeBSD__ >= 2 -extern struct kern_devconf kdc_cx [NCX]; static struct tty cx_tty [NCX*NCHAN]; /* tty data */ static d_open_t cxopen; @@ -238,10 +235,6 @@ int cxopen (dev_t dev, int flag, int mode, struct proc *p) return (error); #if __FreeBSD__ >= 2 error = (*linesw[tp->t_line].l_open) (dev, tp); - if (tp->t_state & TS_ISOPEN) - /* Mark the board busy on the first startup. - * Never goes idle. */ - kdc_cx[c->board->num].kdc_state = DC_BUSY; #else error = (*linesw[tp->t_line].l_open) (dev, tp, 0); #endif -- cgit v1.1