Yoshihiro Takahashi
167b6b11dd
MFi386: revision 1.212.
2004-07-11 13:46:10 +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
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
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
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
Poul-Henning Kamp
bda4474a59
ttyclose() increments t_gen. Remove redundant increments in drivers.
2004-06-01 10:15:56 +00:00
Yoshihiro Takahashi
a83e8010cc
Merged from sys/dev/fdc/fdc.c revision 1.272.
2004-05-30 13:56:06 +00:00
Yoshihiro Takahashi
413131337a
Mereged from sys/dev/sio/sio.c revision 1.429.
2004-05-06 13:16:45 +00:00
Yoshihiro Takahashi
4496bb391f
- Remove obsolete examples.
...
- Add a comment about meaning of flags.
- Disable unused defines.
2004-05-01 06:53:38 +00:00
Yoshihiro Takahashi
2c7f49d5d5
Merged from sys/dev/sio/sio.c revision 1.428.
2004-05-01 06:46:10 +00:00
Yoshihiro Takahashi
944d807245
Merged from sys/isa/fd.c revision 1.270.
2004-04-25 12:43:44 +00:00
Warner Losh
2fcbca0d85
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
Yoshihiro Takahashi
2c08d6bea1
Add a comment about time stamper.
...
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
2004-03-29 12:51:46 +00:00
Yoshihiro Takahashi
279b998b38
- Fix PC98 supports after importing auto selection. [1]
...
- Fix 1.44MB floppy drive probe sequence. [2]
Submitted by: Watanabe Kazuhiro <CQG00620@nifty.ne.jp> [1]
chi@bd.mbn.or.jp (Chiharu Shibata) [2]
2004-03-28 13:40:23 +00:00
Nate Lawson
5f96beb9e0
Convert callers to the new bus_alloc_resource_any(9) API.
...
Submitted by: Mark Santcroos <marks@ripe.net>
Reviewed by: imp, dfr, bde
2004-03-17 17:50:55 +00:00
Warner Losh
91a5625be4
including isa_device.h was historical in this file, remove it
2004-03-15 10:39:01 +00:00
Yoshihiro Takahashi
05f0fb092f
Remove '#include <machine/bus_pio.h>'. This is meaningless.
2004-03-07 05:39:38 +00:00
Poul-Henning Kamp
db42ff97da
Remove unused FDNUMTOUNIT() macro
2004-02-29 10:21:40 +00:00
Yoshihiro Takahashi
6cab36d49d
Merged from sys/isa/fd.c revision 1.266.
2004-02-26 14:59:10 +00:00
Poul-Henning Kamp
dc08ffec87
Device megapatch 4/6:
...
Introduce d_version field in struct cdevsw, this must always be
initialized to D_VERSION.
Flip sense of D_NOGIANT flag to D_NEEDGIANT, this involves removing
four D_NOGIANT flags and adding 145 D_NEEDGIANT flags.
2004-02-21 21:10:55 +00:00
Poul-Henning Kamp
8e1f1df080
Device megapatch 3/6:
...
Add missing D_TTY flags to various drivers.
Complete asserts that dev_t's passed to ttyread(), ttywrite(),
ttypoll() and ttykqwrite() have (d_flags & D_TTY) and a struct tty
pointer.
Make ttyread(), ttywrite(), ttypoll() and ttykqwrite() the default
cdevsw methods for D_TTY drivers and remove the explicit initializations
in various drivers cdevsw structures.
2004-02-21 20:41:11 +00:00
Poul-Henning Kamp
c9c7976f7f
Device megapatch 1/6:
...
Free approx 86 major numbers with a mostly automatically generated patch.
A number of strategic drivers have been left behind by caution, and a few
because they still (ab)use their major number.
2004-02-21 19:42:58 +00:00
Yoshihiro Takahashi
9ce630976e
Merged from sys/dev/sio/sio.c revision 1.418.
2004-01-21 16:12:29 +00:00
Yoshihiro Takahashi
92c531b502
Add detach method.
2003-12-28 12:25:49 +00:00
Bruce Evans
ac0e70c401
Merged from sys/dev/sio/sio.c revision 1.417.
2003-12-26 03:06:11 +00:00
Bruce Evans
f177e8630c
Merged from sys/dev/sio/sio.c revisions 1.415 and 1.416.
...
Approved by: nyan
(Blanket approval for simple changes in sio.)
2003-11-17 23:13:08 +00:00
Yoshihiro Takahashi
6469c6629c
MFi386: revision 1.206
2003-11-04 13:15:12 +00:00
Yoshihiro Takahashi
95755cc99b
Split pc98 support into pc98/pc98/nmi.c.
2003-11-04 13:01:41 +00:00
Yoshihiro Takahashi
a59a17a08d
Merged from sys/isa/syscons_isa.c revision 1.24.
2003-10-31 13:48:24 +00:00
Poul-Henning Kamp
b52b7f465d
Eliminate use bio_blkno.
2003-10-18 17:51:26 +00:00
Yoshihiro Takahashi
6d8fc6bf6f
Merged from sys/dev/sio/sio.c revisions from 1.405 to 1.414.
2003-10-05 11:55:14 +00:00