summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-06-17 14:23:39 +0000
committerbde <bde@FreeBSD.org>1996-06-17 14:23:39 +0000
commit4e855e93224c277db07beb8ef156deb30365af0d (patch)
treed76bb727bfd3aebec09287c660f46ab22eb4c7c0 /sbin
parent6303ba66f8bb0cfed03198008c8728a9c919e969 (diff)
downloadFreeBSD-src-4e855e93224c277db07beb8ef156deb30365af0d.zip
FreeBSD-src-4e855e93224c277db07beb8ef156deb30365af0d.tar.gz
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.
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud