Yoshihiro Takahashi
6d0e236ade
Merged from sys/dev/fdc/fdc.c revision 1.283.
2004-08-22 15:10:53 +00:00
Yoshihiro Takahashi
265d793d52
MFi386: revision 1.597.
2004-08-05 13:01:29 +00:00
Yoshihiro Takahashi
710f2673ba
MFi386: revision 1.410.
2004-08-05 12:58:52 +00:00
Mark Murray
d23a262fc5
Making a loadable null.ko for /dev/(null|zero) proved rather
...
unpopular, so remove this (mis)feature.
Encouragement provided by: jhb (and others)
2004-08-03 19:24:54 +00:00
Yoshihiro Takahashi
dc50f89c91
MFi386: revision 1.1167
2004-08-01 13:01:36 +00:00
Mark Murray
8ab2f5ecc5
Break out the MI part of the /dev/[k]mem and /dev/io drivers into
...
their own directory and module, leaving the MD parts in the MD
area (the MD parts _are_ part of the modules). /dev/mem and /dev/io
are now loadable modules, thus taking us one step further towards
a kernel created entirely out of modules. Of course, there is nothing
preventing the kernel from having these statically compiled.
2004-08-01 11:40:54 +00:00
Yoshihiro Takahashi
04fc672ad6
Merged from sys/dev/sio/sio.c revision 1.450.
2004-07-24 15:13:42 +00:00
Yoshihiro Takahashi
be1e68e14d
MFi386: revision 1.596.
2004-07-19 11:17:57 +00:00
Maxim Konovalov
aa355a2679
In -CURRENT pseudo devices are not statically assigned at compile time,
...
remove a stale comment.
PR: kern/62285
2004-07-18 09:03:12 +00:00
Yoshihiro Takahashi
2b117a5ab9
Rename the sound device drivers.
2004-07-17 10:22:42 +00:00
Yoshihiro Takahashi
b13793039c
Merged from the following changes.
...
- sys/dev/fdc/fdc.c revision 1.281
- sys/dev/fdc/fdcvar.h revision 1.3
- sys/dev/fdc/fdc_isa.c revision 1.7
2004-07-17 10:07:19 +00:00
Poul-Henning Kamp
672c05d49c
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
Yoshihiro Takahashi
dc6ea865f7
Move the fdc_alloc_resources function into the bus front end.
2004-07-15 15:00:02 +00:00
Dag-Erling Smørgrav
09a23520c0
Unbreak LINT: device card no longer takes a count.
2004-07-14 17:50:08 +00:00
Warner Losh
4b5239229c
oldcard's card device no longer requires a count
2004-07-13 16:11:34 +00:00
Yoshihiro Takahashi
64c232e672
Merged from recent fdc driver changes.
...
Make a separate function to check FDD type.
2004-07-13 13:14:37 +00:00
Yoshihiro Takahashi
61e878c58c
MFi386: revision 1.213.
...
Fix miss merging in previous change.
2004-07-13 12:58:36 +00:00
David Xu
53dbf30349
Add ptrace_clear_single_step(), alpha already has it for years, the function
...
will be used by ptrace to clear a thread's single step state.
2004-07-13 07:22:56 +00:00
Poul-Henning Kamp
911dbd84c7
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
Yoshihiro Takahashi
167b6b11dd
MFi386: revision 1.212.
2004-07-11 13:46:10 +00:00
Yoshihiro Takahashi
fac5bedd49
MFi386: revision 1.406
2004-07-11 13:45:39 +00:00
Marcel Moolenaar
153af0fa47
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 Moolenaar
6af8e47df7
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
Yoshihiro Takahashi
d5103548b4
- 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
Yoshihiro Takahashi
71ca36da63
MFi386: revision 1.16.
2004-07-08 13:48:49 +00:00
Yoshihiro Takahashi
ccac00d33e
Remove obsolete defines.
2004-07-08 13:47:56 +00:00
Yoshihiro Takahashi
b722c4d937
MFi386: revision 1.1164.
2004-07-08 13:47:01 +00:00
Yoshihiro Takahashi
6f5e06c605
MFi386: revision 1.1163
2004-07-01 09:34:15 +00:00
Yoshihiro Takahashi
b9d41c7aae
Merged from sys/dev/sio/sio.c revision 1.446.
2004-07-01 09:32:32 +00:00
John Baldwin
3df6c4de7e
- 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
Yoshihiro Takahashi
3fdb25139d
Merged from sys/dev/sio/sio.c revision 1.444.
2004-06-28 13:28:20 +00:00
Poul-Henning Kamp
cb9ea5f4cb
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
Yoshihiro Takahashi
dcfafc520f
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
Poul-Henning Kamp
fdf5c3da04
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
Yoshihiro Takahashi
2ed7f2ea6d
Merged from sys/dev/sio/sio.c revisions 1.439 and 1.440.
2004-06-22 12:12:10 +00:00
Yoshihiro Takahashi
a9711ba5d1
MFi386: revision 1.592.
2004-06-22 12:11:20 +00:00
Yoshihiro Takahashi
dbb1228c8c
MFi386: revision 1.1161
2004-06-16 14:21:52 +00:00
Poul-Henning Kamp
89c9c53da0
Do the dreaded s/dev_t/struct cdev */
...
Bump __FreeBSD_version accordingly.
2004-06-16 09:47:26 +00:00
Warner Losh
28384b60be
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
Poul-Henning Kamp
1930e303cf
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
John Baldwin
092a5c4530
Remove atdevbase and replace it's remaining uses with direct references to
...
KERNBASE instead.
2004-06-10 20:31:00 +00:00
Poul-Henning Kamp
bbc8ceda71
Add missing <sys/module.h> includes.
2004-06-07 06:04:27 +00:00
Poul-Henning Kamp
13e84a71e0
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
Poul-Henning Kamp
fe3ec6224a
Manual edits to change linesw[]-frobbing to ttyld_*() calls.
2004-06-04 20:04:52 +00:00
Poul-Henning Kamp
2140d01b27
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
Poul-Henning Kamp
ba9ee6c533
Add missing <sys/module.h> #includes
2004-06-04 13:04:10 +00:00
Poul-Henning Kamp
e451f9b758
Make the remaining serial drivers call ttyioctl() rather than calling
...
the linedisc directly.
2004-06-04 08:02:37 +00:00
Poul-Henning Kamp
186f2b9e04
Add missing <sys/module.h> includes currently relying on nested include
...
in <sys/kernel.h>
2004-06-03 06:10:02 +00:00
Poul-Henning Kamp
be9bd88238
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
Poul-Henning Kamp
a1cda79464
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