DragonFly BSD
DragonFly commits List (threaded) for 2004-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 3 Jul 2004 14:23:37 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]