summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/cy/cy.c1
-rw-r--r--sys/dev/digi/digi.c1
-rw-r--r--sys/dev/nmdm/nmdm.c1
-rw-r--r--sys/dev/rc/rc.c1
-rw-r--r--sys/dev/rp/rp.c1
-rw-r--r--sys/dev/si/si.c2
-rw-r--r--sys/dev/sio/sio.c1
-rw-r--r--sys/dev/sx/sx.c2
8 files changed, 0 insertions, 10 deletions
diff --git a/sys/dev/cy/cy.c b/sys/dev/cy/cy.c
index 7106333..194b01c 100644
--- a/sys/dev/cy/cy.c
+++ b/sys/dev/cy/cy.c
@@ -795,7 +795,6 @@ sioclose(dev, flag, mode, td)
cd_etc(com, CD1400_ETC_STOPBREAK);
(*linesw[tp->t_line].l_close)(tp, flag);
disc_optim(tp, &tp->t_termios, com);
- comstop(tp, FREAD | FWRITE);
comhardclose(com);
ttyclose(tp);
siosettimeout();
diff --git a/sys/dev/digi/digi.c b/sys/dev/digi/digi.c
index 27b6268..d5e4139 100644
--- a/sys/dev/digi/digi.c
+++ b/sys/dev/digi/digi.c
@@ -902,7 +902,6 @@ digiclose(dev_t dev, int flag, int mode, struct thread *td)
s = spltty();
linesw[tp->t_line].l_close(tp, flag);
digi_disc_optim(tp, &tp->t_termios, port);
- digistop(tp, FREAD | FWRITE);
digihardclose(port);
ttyclose(tp);
if (--sc->opencnt == 0)
diff --git a/sys/dev/nmdm/nmdm.c b/sys/dev/nmdm/nmdm.c
index 888cda4..79a5476 100644
--- a/sys/dev/nmdm/nmdm.c
+++ b/sys/dev/nmdm/nmdm.c
@@ -313,7 +313,6 @@ nmdmclose(dev_t dev, int flag, int mode, struct thread *td)
err = (*linesw[tp->t_line].l_close)(tp, flag);
ourpart->modemsignals &= ~TIOCM_DTR;
nmdm_crossover(dev->si_drv1, ourpart, otherpart);
- nmdmstop(tp, FREAD|FWRITE);
(void) ttyclose(tp);
return (err);
}
diff --git a/sys/dev/rc/rc.c b/sys/dev/rc/rc.c
index 96ea9fa..2a58b71 100644
--- a/sys/dev/rc/rc.c
+++ b/sys/dev/rc/rc.c
@@ -962,7 +962,6 @@ rcclose(dev_t dev, int flag, int mode, d_thread_t *td)
s = spltty();
(*linesw[tp->t_line].l_close)(tp, flag);
disc_optim(tp, &tp->t_termios, rc);
- rc_stop(tp, FREAD | FWRITE);
rc_hardclose(rc);
ttyclose(tp);
splx(s);
diff --git a/sys/dev/rp/rp.c b/sys/dev/rp/rp.c
index 3f9f49f..926c14d 100644
--- a/sys/dev/rp/rp.c
+++ b/sys/dev/rp/rp.c
@@ -1132,7 +1132,6 @@ rpclose(dev, flag, mode, td)
oldspl = spltty();
(*linesw[tp->t_line].l_close)(tp, flag);
rp_disc_optim(tp, &tp->t_termios);
- rpstop(tp, FREAD | FWRITE);
rphardclose(rp);
tp->t_state &= ~TS_BUSY;
diff --git a/sys/dev/si/si.c b/sys/dev/si/si.c
index 1b76ad0..bb1c102 100644
--- a/sys/dev/si/si.c
+++ b/sys/dev/si/si.c
@@ -806,8 +806,6 @@ siclose(dev_t dev, int flag, int mode, struct thread *td)
pp->sp_state &= ~SS_LSTART;
}
- si_stop(tp, FREAD | FWRITE);
-
sihardclose(pp);
ttyclose(tp);
pp->sp_state &= ~SS_OPEN;
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index f4c63ef..7eb106e 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/sio.c
@@ -1385,7 +1385,6 @@ sioclose(dev, flag, mode, td)
s = spltty();
(*linesw[tp->t_line].l_close)(tp, flag);
disc_optim(tp, &tp->t_termios, com);
- comstop(tp, FREAD | FWRITE);
comhardclose(com);
ttyclose(tp);
siosettimeout();
diff --git a/sys/dev/sx/sx.c b/sys/dev/sx/sx.c
index 8cef3ae..0f07f94 100644
--- a/sys/dev/sx/sx.c
+++ b/sys/dev/sx/sx.c
@@ -547,8 +547,6 @@ sxclose(
}
/* ok. we are now still on the right track.. nuke the hardware */
- sx_stop(tp, FREAD | FWRITE);
-
sxhardclose(pp);
ttyclose(tp);
pp->sp_state &= ~SX_SS_OPEN;
OpenPOWER on IntegriCloud