cvs commit: src/sys/kern tty.c src/sys/net if_sl.c ppp_tty.c src/sys/netgraph ng_tty.c src/sys/netgraph/bluetooth/drivers/h4 ng_h4.c src/sys/sys linedisc.h tty.h

Poul-Henning Kamp phk at FreeBSD.org
Sat Jun 26 01:44:26 PDT 2004


phk         2004-06-26 08:44:04 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             tty.c 
    sys/net              if_sl.c ppp_tty.c 
    sys/netgraph         ng_tty.c 
    sys/netgraph/bluetooth/drivers/h4 ng_h4.c 
    sys/sys              linedisc.h tty.h 
  Log:
  Fix line discipline switching issues: If opening a new ldisc fails,
  we have to revert to TTYDISC which we know will successfully open
  rather than try the previous ldisc which might also fail to open.
  
  Do not let ldisc implementations muck about with ->t_line, and remove
  code which checks for reopens, it should never happen.
  
  Move ldisc->l_hotchar to tty->t_hotchar and have ldisc implementation
  initialize it in their open routines.  Reset to zero when we enter
  TTYDISC.  ("no" should really be -1 since zero could be a valid
  hotchar for certain old european mainframe protocols.)
  
  Revision  Changes    Path
  1.224     +21 -12    src/sys/kern/tty.c
  1.119     +2 -7      src/sys/net/if_sl.c
  1.59      +2 -10     src/sys/net/ppp_tty.c
  1.10      +1 -10     src/sys/netgraph/bluetooth/drivers/h4/ng_h4.c
  1.28      +2 -9      src/sys/netgraph/ng_tty.c
  1.192     +0 -1      src/sys/sys/linedisc.h
  1.84      +1 -0      src/sys/sys/tty.h


More information about the cvs-src mailing list