Commit Graph

2235 Commits

Author SHA1 Message Date
phk
765e679efb 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
nyan
38e78acec3 MFi386: revision 1.212. 2004-07-11 13:46:10 +00:00
nyan
4e8ec62e23 MFi386: revision 1.406 2004-07-11 13:45:39 +00:00
marcel
d392973645 MFi386: Update for the KDB framework:
o  Implement makectx().
o  Call kdb_enter() instead of Debugger().
o  Remove implementation of Debugger().
2004-07-10 23:04:42 +00:00
marcel
660f9cbda1 Update for the KDB framework. Sanitize the alpha console code now that
it's in the way even more. Basicly: remove all alpha specific console
support from gfb(4), sio(4) and syscons(4). Rewrite the alpha console
initialization to be identical to all other platforms. In a nutshell:
call cninit().
The platform specific code now only sets or clears RB_SERIAL and thus
automaticly causes the right console to be selected.

sio.c:
o  Replace the remote GDB hacks and use the GDB debug port interface
   instead.
o  Make debugging code conditional upon KDB instead of DDB.
o  Call kdb_alt_break() instead of db_alt_break().
o  Call kdb_enter() instead of breakpoint().
o  Remove the ugly compatibility of using the console as the debug
   port.
2004-07-10 22:29:41 +00:00
nyan
a311e07bc6 - Merged from sys/dev/fdc/fdc.c revision 1.275.
- Break out the cbus front end from fd.c.
- Remove the pccard support because it was broken.
2004-07-08 13:56:17 +00:00
nyan
6a0e9c6200 MFi386: revision 1.16. 2004-07-08 13:48:49 +00:00
nyan
71366e5a9a Remove obsolete defines. 2004-07-08 13:47:56 +00:00
nyan
9b5a517807 MFi386: revision 1.1164. 2004-07-08 13:47:01 +00:00
nyan
d89728b1a2 MFi386: revision 1.1163 2004-07-01 09:34:15 +00:00
nyan
2492b3042d Merged from sys/dev/sio/sio.c revision 1.446. 2004-07-01 09:32:32 +00:00
jhb
2d985a5e62 - Shorten the names for the TTY related swi interrupt handlers as the
'tty:' prefix is largely redundant.
- Fix the priority of the low-priority TTY SWIs that are hung off of the
  softclock thread.

Submitted by:	bde (2)
2004-06-28 16:17:11 +00:00
nyan
8522d010c0 Merged from sys/dev/sio/sio.c revision 1.444. 2004-06-28 13:28:20 +00:00
phk
2ebe4930dd 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
nyan
f45caed7a8 Merged from sys/dev/sio/sio.c revision 1.442.
(Use generic support for modemcontrol and BREAK ioctls.)
2004-06-26 04:00:46 +00:00
phk
0917f69fda Remove the TIOCDCDTIMESTAMP option.
The RFC-2783 PPS-API (<sys/timepps.h>) provides better and more
configurable service.
2004-06-22 20:32:17 +00:00
nyan
30f48e06bf Merged from sys/dev/sio/sio.c revisions 1.439 and 1.440. 2004-06-22 12:12:10 +00:00
nyan
dcf4952f60 MFi386: revision 1.592. 2004-06-22 12:11:20 +00:00
nyan
68ca173fbd MFi386: revision 1.1161 2004-06-16 14:21:52 +00:00
phk
70c86a601e Do the dreaded s/dev_t/struct cdev */
Bump __FreeBSD_version accordingly.
2004-06-16 09:47:26 +00:00
imp
a2f381ed57 Include vm/vm_param.h to pull in KERNBASE now. This should fix the
pc98 tinderbox breakage.
2004-06-13 20:17:44 +00:00
phk
a78896a72f 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
jhb
06429dd9f2 Remove atdevbase and replace it's remaining uses with direct references to
KERNBASE instead.
2004-06-10 20:31:00 +00:00
phk
3eccbcc05c Add missing <sys/module.h> includes. 2004-06-07 06:04:27 +00:00
phk
ab9c3b8324 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
db2bdd44aa Manual edits to change linesw[]-frobbing to ttyld_*() calls. 2004-06-04 20:04:52 +00:00
phk
c2fc58d70f 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
3ca17e4971 Add missing <sys/module.h> #includes 2004-06-04 13:04:10 +00:00
phk
2a93e8fb5d Make the remaining serial drivers call ttyioctl() rather than calling
the linedisc directly.
2004-06-04 08:02:37 +00:00
phk
d551c0e6f8 Add missing <sys/module.h> includes currently relying on nested include
in <sys/kernel.h>
2004-06-03 06:10:02 +00:00
phk
7a77d42d27 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
a8bccd7659 There is no need to explicitly call ttwakeup() and ttwwakeup() after
ttyclose() has been called.  It's already been done once by ttyclose,
and probably once by the line-discipline too.
2004-06-01 11:38:06 +00:00
phk
f229586866 ttyclose() increments t_gen. Remove redundant increments in drivers. 2004-06-01 10:15:56 +00:00
nyan
5b615e33c7 Merged from sys/dev/fdc/fdc.c revision 1.272. 2004-05-30 13:56:06 +00:00
nyan
9fe51e1449 MFi386: revision 1.1160. 2004-05-18 11:56:56 +00:00
nyan
2f9a119a16 Mereged from sys/dev/sio/sio.c revision 1.429. 2004-05-06 13:16:45 +00:00
bde
37a5105bf1 Oops, switch to using the moved cy driver for pc98 too (remove pointers
to old files in files.pc98 and "count" parameter in NOTES).
2004-05-03 16:03:41 +00:00
marcel
baef079b7d Add option GEOM_GPT. This brings the ability to have a large number of
partitions on a single disk.
2004-05-02 20:40:19 +00:00
obrien
3d6782a3e0 Spell Ethernet correctly. 2004-05-02 18:57:29 +00:00
nyan
4e3fac2fda - Remove obsolete examples.
- Add a comment about meaning of flags.
- Disable unused defines.
2004-05-01 06:53:38 +00:00
nyan
4d6321c0c9 Merged from sys/dev/sio/sio.c revision 1.428. 2004-05-01 06:46:10 +00:00
nyan
7759bbaa3c Add the commented out rue(4) entry. 2004-04-29 08:33:26 +00:00
nyan
65eef6af65 Merged from sys/isa/fd.c revision 1.270. 2004-04-25 12:43:44 +00:00
imp
dff0547aac sx was randomly added to NOTES. Instead, place it in the misc
hardware in properly sorted order.  Fix a little disorder while I'm
here.

Submitted by: bde
2004-04-14 02:25:31 +00:00
nyan
8c7431e444 Enable the sx driver on i386 and pc98. 2004-04-13 14:04:25 +00:00
imp
4d0ff40c7a The bs driver was replaced with the ct(pc98) driver. takahashi-san
(nyan) says this driver is now obsolete and can be removed.
2004-04-07 05:44:51 +00:00
imp
5d25f99bff Remove advertising clause from University of California Regent's
license, per letter dated July 22, 1999 and email from Peter Wemm,
Alan Cox and Robert Watson.

Approved by: core, peter, alc, rwatson
2004-04-07 05:00:01 +00:00
nyan
93e10cf899 MFi386: Enable the cy driver. 2004-04-06 14:19:45 +00:00
nyan
43ef527ff3 Backout revision 1.31. The twa entries were moved to i386/conf/NOTES. 2004-04-04 04:41:52 +00:00
nyan
8ec79375ed The twa device and related options are not needed. 2004-04-01 14:23:41 +00:00