freebsd-skq/sys/isa
Bruce Evans 7d64a7fe80 Added support for TIOCDCDTIMESTAMP (enable/get timestamp of last DCD rise).
Original version by John Hay.

Simplified timestamp code by reading the time exactly when necessary.
This may slow down the interrupt handler with extra calls to microtime(),
but only in bad configurations - the input fifo should normally be
disabled if timestamps on input are being used, since otherwise the
timestamp won't be precisely associated with any particular input event.
The interrupt handler remains slowed down by one test and branch for
each input (and now DCD change) event - avoiding this is not practical
yet.

The simplifications also fixed:
- timestamps for input sometimes being clobbered by output and modem
  status interrupts.
- valid timestamps not being available unless the port is configured with
  vector siointrts.  siointrts no longer exists.
- compiler warnings about siointr* in some configurations.

Simplified timestamp and probe code by depending on recent changes in
microtime() and DELAY() to preserve the interrupt enable flag.
1996-06-17 14:23:39 +00:00
..
ic Oops, this should have been committed with the other Hayes ESP changes. 1995-12-29 13:18:58 +00:00
atrtc.c In getit(), use read_eflags()/write_eflags() to preserve the interrupt 1996-06-17 12:50:22 +00:00
fd.c Typo. 1996-05-03 20:15:11 +00:00
fdc.h Move from the old buf.b_actf to the new TAILQ(buf.b_act). 1996-05-03 14:57:27 +00:00
fdreg.h An ifdef almost hit where it was supposed to go. Joerg owes me a good 1994-09-25 23:37:38 +00:00
joy.c Switched from using devfs_add_sw() to using devfs_add_swf() 1996-03-28 14:29:52 +00:00
kbdtables.h Change RUKEYMAP sligtly 1996-01-25 16:37:20 +00:00
rtc.h BIOS manufacturers don't seem to have a unique idea about 2.88 MB 1995-10-09 15:00:39 +00:00
sio.c Added support for TIOCDCDTIMESTAMP (enable/get timestamp of last DCD rise). 1996-06-17 14:23:39 +00:00
sioreg.h Staticize and cleanup. 1995-12-10 13:40:44 +00:00
syscons.c Fix the warnings about "cant inline call to xxx" by reordering two 1996-05-27 06:02:52 +00:00
syscons.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
timerreg.h Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 13:48:52 +00:00