<dec f='src/src/sys/sys/tty.h' l='300' type='void tty_attach(struct tty * )'/>
<use f='src/src/sys/dev/ic/com.c' l='615' u='c' c='com_attach_subr'/>
<use f='src/src/sys/dev/ic/cy.c' l='301' u='c' c='cyopen'/>
<use f='src/src/sys/dev/pci/cz.c' l='421' u='c' c='cz_attach'/>
<use f='src/src/sys/dev/usb/ucom.c' l='361' u='c' c='ucom_attach'/>
<use f='src/src/sys/dev/usb/ucycom.c' l='233' u='c' c='ucycom_attach'/>
<use f='src/src/sys/dev/usb/uhso.c' l='1377' u='c' c='uhso_tty_attach'/>
<use f='src/src/sys/dev/wscons/wsdisplay.c' l='305' u='c' c='wsscreen_attach'/>
<def f='src/src/sys/kern/tty.c' l='2765' ll='2773' type='void tty_attach(struct tty * tp)'/>
<doc f='src/src/sys/kern/tty.c' l='2753'>/*
 * Attach a tty to the tty list.
 *
 * This should be called ONLY once per real tty (including pty&apos;s).
 * eg, on the sparc, the keyboard and mouse have struct tty&apos;s that are
 * distinctly NOT usable as tty&apos;s, and thus should not be attached to
 * the ttylist.  This is why this call is not done from tty_alloc().
 *
 * Device drivers should attach tty&apos;s at a similar time that they are
 * allocated, or, for the case of statically allocated struct tty&apos;s
 * either in the attach or (first) open routine.
 */</doc>
<use f='src/src/sys/kern/tty_pty.c' l='310' u='c' c='pty_check'/>
