diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-06-26 09:20:07 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-06-26 09:20:07 +0000 |
| commit | cb9ea5f4cbd32931cd4444df5024abfd9d66194b (patch) | |
| tree | c93b5edd593fd013f81731c196b7d1369e3d5f78 /sys/dev/si | |
| parent | 57ceda5d843396c1ad98cf7e979fa2a3f2825620 (diff) | |
Notes
Diffstat (limited to 'sys/dev/si')
| -rw-r--r-- | sys/dev/si/si.c | 4 | ||||
| -rw-r--r-- | sys/dev/si/si.h | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/si/si.c b/sys/dev/si/si.c index ad7d426054ab..ffe26cb37ad4 100644 --- a/sys/dev/si/si.c +++ b/sys/dev/si/si.c @@ -742,7 +742,7 @@ open_top: } error = ttyld_open(tp, dev); - pp->sp_hotchar = ttyldoptim(tp); + ttyldoptim(tp); if (tp->t_state & TS_ISOPEN && IS_CALLOUT(mynor)) pp->sp_active_out = TRUE; @@ -1024,7 +1024,7 @@ siioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, struct thread *td) } error = ttyioctl(dev, cmd, data, flag, td); - pp->sp_hotchar = ttyldoptim(tp); + ttyldoptim(tp); if (error != ENOTTY) goto out; diff --git a/sys/dev/si/si.h b/sys/dev/si/si.h index a0c1ebdb1118..3222e2e204d4 100644 --- a/sys/dev/si/si.h +++ b/sys/dev/si/si.h @@ -334,7 +334,6 @@ struct si_port { int sp_dtr_wait; /* DTR holddown in hz */ int sp_delta_overflows; u_int sp_wopeners; /* # procs waiting DCD */ - u_char sp_hotchar; /* ldisc specific ASAP char */ /* Initial state. */ struct termios sp_iin; struct termios sp_iout; |
