summaryrefslogtreecommitdiffstats
path: root/sys/pc98/cbus/sio.c
Commit message (Collapse)AuthorAgeFilesLines
* - Use bus_setup_intr() and bus_teardown_intr() to register device driverjhb2006-02-221-2/+2
| | | | | | | | | | interrupt handlers rather than BUS_SETUP_INTR() and BUS_TEARDOWN_INTR(). Uses of the BUS_*() versions in the implementation of foo_intr methods in bus drivers were not changed. Mostly this just means that some drivers might start printing diagnostic messages like [FAST] when appropriate as well as honoring mpsafenet=0. - Fix two more of the ppbus drivers' identify routines to function correctly in the mythical case of a machine with more than one ppbus.
* Merged from sys/dev/sio/sio.c revision 1.463.nyan2005-12-181-0/+1
|
* Catch up with new interrupt handling code.ru2005-10-261-2/+2
|
* Eliminate two unused arguments to ttycreate().phk2005-10-161-1/+1
|
* Use 'PC Card'nyan2005-09-301-2/+2
|
* Remove EPSON PC-386 note A/W/AE/WR support.nyan2005-09-141-8/+4
|
* Change a directory layout for pc98.nyan2005-05-101-1/+1
| | | | | | | | | - Move MD files into <arch>/<arch>. - Move bus dependent files into <arch>/<bus>. Rename some files to more suitable names. Repo-copied by: peter Discussed with: imp
* Merged from sys/dev/sio/sio.c revision 1.458.nyan2005-02-111-9/+5
|
* Merged from sys/dev/sio/sio.c revision 1.457.nyan2005-02-041-5/+9
|
* Merged from sys/dev/sio/sio.c (Use generic tty code).nyan2004-10-151-90/+45
|
* Use generic tty code instead of local stuff.phk2004-10-131-523/+107
| | | | NB: device names are now consistent: {cua,tty}d$(port)[.lock,.init]
* Merged from sys/dev/sio/sio.c: more tty related changes.nyan2004-09-201-9/+10
|
* Use tty->t_sc, ttyalloc() and lock/init termios from struct tty.phk2004-09-171-71/+57
|
* Merged from sys/dev/sio/sio.c revision 1.450.nyan2004-07-241-1/+2
|
* Preparation commit for the tty cleanups that will follow in the nearphk2004-07-151-2/+2
| | | | | | | | | 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.
* Introduce ttygone() which indicates that the hardware is detached.phk2004-07-111-38/+5
| | | | Move dtrwait logic to the generic TTY level.
* Update for the KDB framework. Sanitize the alpha console code now thatmarcel2004-07-101-208/+75
| | | | | | | | | | | | | | | | | | 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.
* Merged from sys/dev/sio/sio.c revision 1.446.nyan2004-07-011-3/+2
|
* - Shorten the names for the TTY related swi interrupt handlers as thejhb2004-06-281-2/+2
| | | | | | | | '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)
* Merged from sys/dev/sio/sio.c revision 1.444.nyan2004-06-281-1/+2
|
* Pick the hotchar out of the tty structure instead of caching privatephk2004-06-261-6/+5
| | | | | | | | 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.
* Merged from sys/dev/sio/sio.c revision 1.442.nyan2004-06-261-163/+125
| | | | (Use generic support for modemcontrol and BREAK ioctls.)
* Remove the TIOCDCDTIMESTAMP option.phk2004-06-221-16/+0
| | | | | The RFC-2783 PPS-API (<sys/timepps.h>) provides better and more configurable service.
* Merged from sys/dev/sio/sio.c revisions 1.439 and 1.440.nyan2004-06-221-51/+115
|
* Do the dreaded s/dev_t/struct cdev */phk2004-06-161-12/+12
| | | | Bump __FreeBSD_version accordingly.
* Deorbit COMPAT_SUNOS.phk2004-06-111-2/+2
| | | | | 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.
* Centralize the line discipline optimization determination in a functionphk2004-06-041-24/+4
| | | | | | | | | 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.
* Manual edits to change linesw[]-frobbing to ttyld_*() calls.phk2004-06-041-2/+2
|
* Machine generated patch which changes linedisc calls from accessingphk2004-06-041-11/+11
| | | | | | linesw[] directly to using the ttyld...() functions The ttyld...() functions ar inline so there is no performance hit.
* Make the remaining serial drivers call ttyioctl() rather than callingphk2004-06-041-8/+3
| | | | the linedisc directly.
* There is no need to explicitly call the stop function. In all likelyhoodphk2004-06-011-1/+0
| | | | ->l_close() did it and ttyclose certainly will.
* There is no need to explicitly call ttwakeup() and ttwwakeup() afterphk2004-06-011-2/+0
| | | | | ttyclose() has been called. It's already been done once by ttyclose, and probably once by the line-discipline too.
* ttyclose() increments t_gen. Remove redundant increments in drivers.phk2004-06-011-1/+0
|
* Mereged from sys/dev/sio/sio.c revision 1.429.nyan2004-05-061-76/+49
|
* - Remove obsolete examples.nyan2004-05-011-32/+25
| | | | | - Add a comment about meaning of flags. - Disable unused defines.
* Merged from sys/dev/sio/sio.c revision 1.428.nyan2004-05-011-49/+76
|
* Remove advertising clause from University of California Regent'simp2004-04-071-4/+0
| | | | | | | license, per letter dated July 22, 1999 and email from Peter Wemm, Alan Cox and Robert Watson. Approved by: core, peter, alc, rwatson
* Convert callers to the new bus_alloc_resource_any(9) API.njl2004-03-171-6/+6
| | | | | Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde
* Device megapatch 4/6:phk2004-02-211-1/+2
| | | | | | | | 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.
* Device megapatch 3/6:phk2004-02-211-2/+0
| | | | | | | | | | | | 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.
* Device megapatch 1/6:phk2004-02-211-2/+0
| | | | | | | 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.
* Merged from sys/dev/sio/sio.c revision 1.418.nyan2004-01-211-1/+3
|
* Merged from sys/dev/sio/sio.c revision 1.417.bde2003-12-261-2/+2
|
* Merged from sys/dev/sio/sio.c revisions 1.415 and 1.416.bde2003-11-171-10/+13
| | | | | Approved by: nyan (Blanket approval for simple changes in sio.)
* Merged from sys/dev/sio/sio.c revisions from 1.405 to 1.414.nyan2003-10-051-154/+137
|
* OK, I messed up /dev/console with what I had hoped would be compatphk2003-09-261-16/+21
| | | | code. Convert remaining console drivers and hope for the best.
* Merged from sys/dev/sio/sio.c revisions 1.403 and 1.404.nyan2003-08-281-34/+15
|
* Merged from sys/dev/sio/sio.c revision 1.400.nyan2003-08-021-3/+6
|
* - Use the new resource_disabled() helper function to see if devices arejhb2003-07-021-5/+2
| | | | | | | | | | | | disabled. - Change the apm driver to match the acpi driver's behavior by checking to see if the device is disabled in the identify routine instead of in the probe routine. This way if the device is disabled it is never created. Note that a few places (ips(4), Alpha SMP) used "disable" instead of "disabled" for their hint names, and these hints must be changed to "disabled". If this is a big problem, resource_disabled() can always be changed to honor both names.
* Merged from sys/dev/sio/sio.c revision 1.399.nyan2003-06-011-2/+0
|
OpenPOWER on IntegriCloud