Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 1996 07:23:43 -0700 (PDT)
From:      Bruce Evans <bde>
To:        CVS-committers, cvs-all, cvs-sys
Subject:   cvs commit:  src/sys/i386/isa sio.c
Message-ID:  <199606171423.HAA20799@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         96/06/17 07:23:42

  Modified:    sys/i386/isa  sio.c
  Log:
  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.
  
  Revision  Changes    Path
  1.143     +15 -36    src/sys/i386/isa/sio.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606171423.HAA20799>