summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/cx.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-09-06 23:09:20 +0000
committerphk <phk@FreeBSD.org>1996-09-06 23:09:20 +0000
commitbca885205da7f15208946f0896edc2eda3caff01 (patch)
tree35dad08bf59366e84921fd4aad9718c2f9426a1b /sys/i386/isa/cx.c
parent9640e2d9e8f825813ec445d294de60884ad82bc8 (diff)
downloadFreeBSD-src-bca885205da7f15208946f0896edc2eda3caff01.zip
FreeBSD-src-bca885205da7f15208946f0896edc2eda3caff01.tar.gz
Remove devconf, it never grew up to be of any use.
Diffstat (limited to 'sys/i386/isa/cx.c')
-rw-r--r--sys/i386/isa/cx.c7
1 files changed, 0 insertions, 7 deletions
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 <machine/pio.h>
# define RB_GETC(q) getc(q)
-# else /* BSD 4.4 Lite */
-# include <sys/devconf.h>
# 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
OpenPOWER on IntegriCloud