Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Sep 2004 19:33:49 +0000 (UTC)
From:      Poul-Henning Kamp <phk@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys tty.h src/sys/kern tty.c
Message-ID:  <200409281933.i8SJXnfa005646@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
phk         2004-09-28 19:33:49 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              tty.h 
    sys/kern             tty.c 
  Log:
  Add functions to create and free the "tty-ness" of a serial port in a
  generic way.  This code will allow a similar amount of code to be
  removed from most if not all serial port drivers.
  
          Add generic cdevsw for tty devices.
  
          Add generic slave cdevsw for init/lock devices.
  
          Add ttypurge function which wakes up all know generic sleep
          points in the tty code, and calls into the hw-driver if it
          provides a method.
  
          Add ttycreate function which creates tty device and optionally
          cua device.  In both cases .init/.lock devices are created
          as well.
  
          Change ttygone() slightly to also call the hw driver provided
          purge routine.
  
          Add ttyfree() which will purge and destroy the cdevs.
  
          Add ttyconsole mode for setting console friendly termios
          on a port.
  
  Revision  Changes    Path
  1.233     +233 -6    src/sys/kern/tty.c
  1.95      +7 -0      src/sys/sys/tty.h



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