cvs commit: src/sys/dev/sio sio.c

Bruce Evans bde at FreeBSD.org
Wed Sep 17 07:05:18 PDT 2003


bde         2003/09/17 07:05:16 PDT

  FreeBSD src repository

  Modified files:
    sys/dev/sio          sio.c 
  Log:
  Cleaned up initialization of hardware flow control for 16650As.  Use
  defined values instead of hard-coded values.  Don't repeat the register
  access part of the code 4 times times or triple-space statements.  This
  fixes half of the style bugs in rev.1.172.
  
  Hardware flow control of 16650As is still officially unsupported.  I
  was mistaken about it being broken.  It is broken in 16650s but is
  fixed in 16650As except for the maximum trigger level (which is no
  longer used).  Testing of the 16650's broken hardware flow control
  watermarks by programming them on 16950s showed that their effects are
  not too bad if the fifo size and trigger level are reasonably large
  (16 is much better than 8).
  
  Revision  Changes    Path
  1.406     +11 -25    src/sys/dev/sio/sio.c


More information about the cvs-src mailing list