Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Dec 1998 06:17:58 -0800 (PST)
From:      Bruce Evans <bde@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   cvs commit: src/sys/i386/isa cy.c
Message-ID:  <199812241417.GAA27145@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         1998/12/24 06:17:58 PST

  Modified files:
    sys/i386/isa         cy.c 
  Log:
  Flush the fifos at the correct place in cyopen().  Various things
  in cyopen() were done in a different order than in sioopen(), partly
  to (ab)use a side effect of comparam() and partly because I didn't
  understand what the reset was doing (it flushes the fifos).  This
  turned out to be more than a cosmetic problem.  Flushing the fifos
  quite late is good for discarding input that arrived while the line
  state was being initialized, and in the cy driver it also seems to
  reduce a problem with input that arrived long ago during the previous
  close (the UART loses sync too easily and for too long).
  
  Revision  Changes    Path
  1.82      +17 -31    src/sys/i386/isa/cy.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



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