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

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Jul 3 14:24:44 PDT 2004


dillon      2004/07/03 14:23:37 PDT

DragonFly src repository

  Modified files:
    sys/dev/serial/sio   sio.c 
  Log:
  Make sure a serial port exists by determining whether it is possible to drain
  its RX queue, before we turn on its interrupt or do other things.  If we can't
  then the serial port is disabled.
  
  This fixes drain lockups on laptops and newer desktops that occur when a
  non-existant serial port is opened and allows us to ship a CD with a getty
  on ttyd0 without locking up the system.
  
  Revision  Changes    Path
  1.17      +15 -0     src/sys/dev/serial/sio/sio.c


http://www.dragonflybsd.org/cvsweb/src/sys/dev/serial/sio/sio.c.diff?r1=1.16&r2=1.17&f=u





More information about the Commits mailing list