1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-11 14:10:34 +00:00
freebsd/sys/i386
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
..
apm Freudian slip. Change M_DEVBUG -> M_DEVBUF. 1996-06-04 17:50:28 +00:00
bios Freudian slip. Change M_DEVBUG -> M_DEVBUF. 1996-06-04 17:50:28 +00:00
boot Add a check in the SMC probe to verify that the card has an ethernet 1996-06-09 14:44:17 +00:00
conf Explain the options for the `od' driver. 1996-06-16 20:04:47 +00:00
eisa Clean up -Wunused warnings. 1996-06-12 05:11:41 +00:00
i386 In getit(), use read_eflags()/write_eflags() to preserve the interrupt 1996-06-17 12:50:22 +00:00
ibcs2 Clean up -Wunused warnings. 1996-06-12 05:11:41 +00:00
include The Great PC98 Merge. 1996-06-14 11:02:28 +00:00
isa Added support for TIOCDCDTIMESTAMP (enable/get timestamp of last DCD rise). 1996-06-17 14:23:39 +00:00
linux Clean up -Wunused warnings. 1996-06-12 05:11:41 +00:00
pci Change CONF1_ENABLE_MSK to 0x7ff00000 in another attempt to decide 1996-06-13 21:50:41 +00:00
scsi Detect and report dataphase overruns. Put the adapter into 'Bit Bucket' 1996-06-09 17:33:18 +00:00
Makefile