Hi

These ports are still using set line discipline ioctl to configure
ng_tty, but it is not work any more (with new ttys).

src/modem.c: if (ioctl(m->fd, TIOCSETD, &ldisc) < 0) ...

mpd log:

[skylink] opening link "umodem0"...
[umodem0] link: OPEN event
[umodem0] LCP: Open event
[umodem0] LCP: state change Initial --> Starting
[umodem0] LCP: LayerStart
[umodem0] device: OPEN event in state DOWN
[umodem0] chat script succeeded
[umodem0] ioctl(TIOCSETD, 6): Inappropriate ioctl for device
[umodem0] device is now in state OPENING
[umodem0] device: DOWN event in state OPENING
[umodem0] device is now in state DOWN
[umodem0] link: DOWN event
[umodem0] LCP: Down event

Appropriate commit log is attached.

I've seen mav@'s comment on that commit, but no further actions.

Any hope to make mpd work with recent 8-CURRENT ? 

-- 
Vladimir B. Grebenschikov
[EMAIL PROTECTED]
--- Begin Message ---
thompsa     2008-10-03 05:14:54 UTC

  FreeBSD src repository

  Modified files:
    share/man/man4       ng_tty.4 
    sys/netgraph         ng_tty.c ng_tty.h 
  Log:
  SVN rev 183562 on 2008-10-03 05:14:54Z by thompsa
  
  Update ng_tty for MPSAFE TTY.
  
  This changes from a line discipline to the tty_hooks mechanism. Data will come
  in directly via rint_bypass and sent to the peer node in a single mbuf.
  
  As line disciplines are no longer used a new netgraph command called
  NGM_TTY_SET_TTY is used to attach the tty. This takes a pointer to to the open
  file descriptor of the tty and registers the tty hooks. When the tty 
disappears
  the node will shutdown.
  
  Thanks to:      ed
  Sponsored by:   Hobnob, Inc
  
  Revision  Changes    Path
  1.18      +16 -16    src/share/man/man4/ng_tty.4
  1.38      +281 -454  src/sys/netgraph/ng_tty.c
  1.5       +1 -0      src/sys/netgraph/ng_tty.h
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-src
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

--- End Message ---
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to