phk
8b1be96ee5
Use generic tty processing code instead of local copy.
...
New device names are {tty,cua}G$(adapter)$(port)[.lock,.init]
2004-10-08 06:45:10 +00:00
phk
f00200d8a4
Preparation commit for the tty cleanups that will follow in the near
...
future:
rename ttyopen() -> tty_open() and ttyclose() -> tty_close().
We need the ttyopen() and ttyclose() for the new generic cdevsw
functions for tty devices in order to have consistent naming.
2004-07-15 20:47:41 +00:00
phk
3683e698d2
Introduce ttygone() which indicates that the hardware is detached.
...
Move dtrwait logic to the generic TTY level.
2004-07-11 15:18:39 +00:00
phk
0567d4ef5f
Pick the hotchar out of the tty structure instead of caching private
...
copies.
No current line disciplines have a dynamically changing hotchar, and
expecting to receive anything sensible during a change in ldisc is
insane so no locking of the hotchar field is necessary.
2004-06-26 09:20:07 +00:00
phk
0033eabc1b
Put the pre FreeBSD-2.x tty compat code under BURN_BRIDGES.
2004-06-21 22:57:16 +00:00
phk
dfd1f7fd50
Do the dreaded s/dev_t/struct cdev */
...
Bump __FreeBSD_version accordingly.
2004-06-16 09:47:26 +00:00
phk
86602fc06c
Deorbit COMPAT_SUNOS.
...
We inherited this from the sparc32 port of BSD4.4-Lite1. We have neither
a sparc32 port nor a SunOS4.x compatibility desire these days.
2004-06-11 11:16:26 +00:00
phk
17b52df3d7
Centralize the line discipline optimization determination in a function
...
called ttyldoptim().
Use this function from all the relevant drivers.
I belive no drivers finger linesw[] directly anymore, paving the way for
locking and refcounting.
2004-06-04 21:55:55 +00:00
phk
ba3920e2a2
Machine generated patch which changes linedisc calls from accessing
...
linesw[] directly to using the ttyld...() functions
The ttyld...() functions ar inline so there is no performance hit.
2004-06-04 16:02:56 +00:00
phk
9bb2c2f2d2
Make the remaining serial drivers call ttyioctl() rather than calling
...
the linedisc directly.
2004-06-04 08:02:37 +00:00
phk
e0c89dae13
There is no need to explicitly call the stop function. In all likelyhood
...
->l_close() did it and ttyclose certainly will.
2004-06-01 11:57:15 +00:00
phk
9d102d7d5a
Add missing <sys/module.h> includes
2004-05-30 20:08:47 +00:00
imp
76819b407f
Prefer uint16_t to ushort.
...
Submitted by: bde
2004-04-14 02:20:01 +00:00
imp
8a7f14cc73
Update to recent driver api changes.
2004-04-11 20:15:15 +00:00
imp
a0e860ef19
Frank Mayhar's <frank@exit.com> sx driver for older Specialix
...
I/O8+ and I/O4+ intelligent serial controllers. si is for
completely different hardware, also made by Specialix.
2004-04-11 19:32:20 +00:00