Lines Matching defs:za

228 		if (!za->za_rstandby[n]) { \
229 if ((za->za_rstandby[n] = allocb(ZSA_RCV_SIZE, \
231 if (za->za_bufcid == 0) { \
232 za->za_bufcid = bufcall(ZSA_RCV_SIZE, \
241 if (za->za_ttycommon.t_cflag & CRTSXOFF) { \
246 if (!za->za_rstandby[n]) \
249 zslowat[SPEED(za->za_ttycommon.t_cflag)]) \
263 if ((mp = za->za_rstandby[n]) != NULL) { \
264 za->za_rstandby[n] = NULL; \
268 if (za->za_ttycommon.t_cflag & CRTSXOFF) { \
273 UNIT(za->za_dev)); \
277 if (!za->za_rstandby[n]) \
280 zshiwat[SPEED(za->za_ttycommon.t_cflag)])) \
303 wptr = za->za_rdone_wptr; \
304 rptr = za->za_rdone_rptr; \
305 za->za_rdone[wptr] = mp; \
307 za->za_rdone_wptr = wptr = 0; \
309 za->za_rdone_wptr = ++wptr; \
313 UNIT(za->za_dev)); \
322 register mblk_t *mp = za->za_rcvblk; \
329 za->za_rcvblk = NULL; \
337 if (za->za_rdone_rptr != za->za_rdone_wptr) { \
338 mp = za->za_rdone[za->za_rdone_rptr]; \
350 if (za->za_rdone_rptr != za->za_rdone_wptr) { \
351 mp = za->za_rdone[za->za_rdone_rptr]; \
352 za->za_rdone[za->za_rdone_rptr++] = NULL; \
353 if (za->za_rdone_rptr == zsa_rdone) \
354 za->za_rdone_rptr = 0; \
540 static void zsa_ioctl(struct asyncline *za, queue_t *q, mblk_t *mp);
541 static void zsa_program(struct asyncline *za, int setibaud);
545 static void zsa_set_za_rcv_flags_mask(struct asyncline *za);
718 register struct asyncline *za;
745 za = (struct asyncline *)&zs->zs_priv_str;
759 bzero(za, sizeof (zs->zs_priv_str));
760 za->za_common = zs;
762 za->za_ttycommon.t_flags |= TS_SOFTCAR;
765 za->za_rdone_wptr = 0;
766 za->za_rdone_rptr = 0;
769 zs->zs_priv = (caddr_t)za;
776 if (!(za->za_flags & ZAS_ISOPEN)) {
788 za->za_ttycommon.t_cflag = termiosp->c_cflag;
801 za->za_ttycommon.t_cflag &= ~(CBAUD);
803 za->za_ttycommon.t_cflag |= CBAUDEXT;
804 za->za_ttycommon.t_cflag |=
807 za->za_ttycommon.t_cflag &= ~CBAUDEXT;
808 za->za_ttycommon.t_cflag |= (speed & CBAUD);
811 za->za_overrun = 0;
812 za->za_ttycommon.t_iflag = 0;
813 za->za_ttycommon.t_iocpending = NULL;
814 za->za_ttycommon.t_size.ws_row = 0;
815 za->za_ttycommon.t_size.ws_col = 0;
816 za->za_ttycommon.t_size.ws_xpixel = 0;
817 za->za_ttycommon.t_size.ws_ypixel = 0;
818 za->za_dev = *dev;
819 za->za_wbufcid = 0;
820 zsa_program(za, za->za_ttycommon.t_cflag & (CIBAUDEXT|CIBAUD));
821 zsa_set_za_rcv_flags_mask(za);
822 } else if ((za->za_ttycommon.t_flags & TS_XCLUDE) &&
825 if (set_zsoptinit && !(za->za_flags & ISOPEN))
830 } else if ((*dev & OUTLINE) && !(za->za_flags & ZAS_OUT)) {
832 if (set_zsoptinit && !(za->za_flags & ISOPEN))
840 za->za_flags |= ZAS_OUT;
846 if ((za->za_ttycommon.t_flags & TS_SOFTCAR) ||
848 za->za_flags |= ZAS_CARR_ON;
856 !(za->za_ttycommon.t_cflag & CLOCAL)) {
857 if (!(za->za_flags & (ZAS_CARR_ON|ZAS_OUT)) ||
858 ((za->za_flags & ZAS_OUT) && !(*dev & OUTLINE))) {
859 za->za_flags |= ZAS_WOPEN;
871 za->za_flags &= ~ZAS_WOPEN;
872 if (set_zsoptinit && !(za->za_flags & ISOPEN))
879 za->za_flags &= ~ZAS_WOPEN;
884 if (set_zsoptinit && !(za->za_flags & ISOPEN))
891 } else if ((za->za_flags & ZAS_OUT) && !(*dev & OUTLINE)) {
892 if (set_zsoptinit && !(za->za_flags & ISOPEN))
899 za->za_ttycommon.t_readq = rq;
900 za->za_ttycommon.t_writeq = WR(rq);
901 rq->q_ptr = WR(rq)->q_ptr = (caddr_t)za;
903 za->za_flags |= ZAS_ISOPEN;
914 struct asyncline *za = arg;
915 struct zscom *zs = za->za_common;
925 !(za->za_flags & (ZAS_BREAK|ZAS_DELAY))) {
926 za->za_flags &= ~ZAS_BUSY;
928 za->za_rcv_flags_mask &= ~DO_RETRANSMIT;
931 bp = za->za_xmitblk;
932 za->za_xmitblk = NULL;
944 flushq(za->za_ttycommon.t_writeq, FLUSHALL);
948 zs->zs_timer = timeout(zs_progress_check, za,
967 struct asyncline *za;
975 za = q->q_ptr;
976 ASSERT(za != NULL);
978 zs = za->za_common;
992 if (!(za->za_flags & ZAS_BREAK) && (zs->zs_wreg[5] & ZSWR5_BREAK))
1005 if ((flag & (FNDELAY|FNONBLOCK)) || (za->za_flags & ZAS_STOPPED))
1028 zs->zs_timer = timeout(zs_progress_check, za,
1033 za->za_ttycommon.t_writeq->q_first != NULL ||
1034 (za->za_flags & (ZAS_BUSY|ZAS_DELAY|ZAS_BREAK))) {
1051 za->za_flags &= ~ZAS_BREAK;
1054 za_wbufcid = za->za_wbufcid;
1055 za_bufcid = za->za_bufcid;
1056 za_zsa_restart_id = za->za_zsa_restart_id;
1057 za_kick_rcv_id = za->za_kick_rcv_id;
1059 za->za_wbufcid = za->za_bufcid = 0;
1060 za->za_zsa_restart_id = za->za_kick_rcv_id = 0;
1076 if ((za->za_dev != rconsdev) && (za->za_dev != kbddev) &&
1077 (za->za_dev != stdindev) &&
1078 (((za->za_flags & (ZAS_WOPEN|ZAS_ISOPEN)) != ZAS_ISOPEN) ||
1079 (za->za_ttycommon.t_cflag & HUPCL))) {
1084 if (zsasoftdtr && (za->za_ttycommon.t_flags & TS_SOFTCAR))
1109 if ((za->za_flags & (ZAS_ISOPEN|ZAS_WOPEN)) == 0)
1117 ttycommon_close(&za->za_ttycommon);
1119 za->za_ttycommon.t_readq = NULL;
1120 za->za_ttycommon.t_writeq = NULL;
1123 za->za_rcv_flags_mask &= ~DO_RETRANSMIT;
1126 bp = za->za_xmitblk;
1127 za->za_xmitblk = NULL;
1135 bp = za->za_rcvblk;
1136 za->za_rcvblk = NULL;
1143 bp = za->za_rstandby[i];
1144 za->za_rstandby[i] = NULL;
1150 if (za->za_soft_active || za->za_kick_active) {
1152 while (za->za_soft_active || za->za_kick_active)
1162 bzero(za, sizeof (struct asyncline));
1206 register struct asyncline *za;
1213 za = (struct asyncline *)q->q_ptr;
1214 zs = za->za_common;
1229 za->za_flags |= ZAS_STOPPED;
1231 za->za_flags &= ~ZAS_BUSY;
1232 za->za_rcv_flags_mask &= ~DO_RETRANSMIT;
1233 bp = za->za_xmitblk;
1237 za->za_xmitblk = NULL;
1248 if (za->za_flags & ZAS_STOPPED) {
1249 za->za_flags &= ~ZAS_STOPPED;
1281 if (za->za_pps)
1303 za->za_pps = (*(int *)mp->b_cont->b_rptr != 0);
1322 if (za->za_pps == NULL) {
1378 zsa_ioctl(za, q, mp);
1446 if (za->za_flags & ZAS_BUSY) {
1447 za->za_flags &= ~ZAS_BUSY;
1449 za->za_rcv_flags_mask &= ~DO_RETRANSMIT;
1452 bp = za->za_xmitblk;
1453 za->za_xmitblk = NULL;
1469 if ((za->za_ttycommon.t_flags & TS_SOFTCAR) ||
1481 za->za_ttycommon.t_cflag))/3 + 1);
1531 za->za_flowc = za->za_ttycommon.t_stopc;
1533 za->za_rcv_flags_mask &= ~DO_RETRANSMIT;
1534 bp = za->za_xmitblk;
1538 za->za_xmitblk = NULL;
1552 za->za_flowc = za->za_ttycommon.t_startc;
1554 za->za_rcv_flags_mask &= ~DO_RETRANSMIT;
1555 bp = za->za_xmitblk;
1559 za->za_xmitblk = NULL;
1588 za->za_flags |= ZAS_SERVICEIMM;
1594 za->za_flags &= ~ZAS_SERVICEIMM;
1619 struct asyncline *za;
1622 if (((za = (struct asyncline *)q->q_ptr) != NULL) &&
1623 (za->za_ttycommon.t_cflag & CRTSXOFF)) {
1624 zs = za->za_common;
1641 register struct asyncline *za = (struct asyncline *)&zs->zs_priv_str;
1649 if ((za->za_ttycommon.t_cflag & CRTSCTS) &&
1652 za->za_rcv_flags_mask |= DO_RETRANSMIT;
1657 za->za_wr++;
1669 za->za_rcv_flags_mask |= DO_TRANSMIT;
1676 if (za->za_flowc != '\0' && (!(za->za_flags & ZAS_DRAINING))) {
1677 if ((za->za_ttycommon.t_cflag & CRTSCTS) &&
1682 SCC_WRITEDATA(za->za_flowc);
1683 za->za_flowc = '\0';
1692 za->za_rcv_flags_mask |= DO_TRANSMIT;
1702 register struct asyncline *za = (struct asyncline *)&zs->zs_priv_str;
1707 x0 = s0 ^ za->za_rr0;
1708 za->za_rr0 = s0;
1714 if (za->za_pps && (x0 & ZSRR0_CD) && (s0 & ZSRR0_CD)) {
1773 za->za_breakoff = 1;
1800 if ((za->za_dev == kbddev) ||
1801 ((za->za_dev == rconsdev) || (za->za_dev == stdindev)) &&
1812 za->za_break = 1;
1819 if ((za->za_ttycommon.t_cflag & CRTSCTS) &&
1821 (za->za_rcv_flags_mask & DO_RETRANSMIT))
1822 za->za_rcv_flags_mask |= DO_TRANSMIT;
1824 za->za_ext = 1;
1834 register struct asyncline *za = (struct asyncline *)&zs->zs_priv_str;
1839 register uint_t fm = za->za_rcv_flags_mask;
1843 za->za_rd++;
1850 if ((abort_enable == KIOCABORTALTERNATE) && (za->za_dev == rconsdev)) {
1863 if (za->za_slav_break) {
1864 za->za_slav_break = 0;
1865 za->za_rr0 |= ZSRR0_BREAK;
1871 if (c == 0 && (za->za_rr0 & ZSRR0_BREAK)) {
1889 if (c == 0 && za->za_breakoff) {
1901 za->za_breakoff = 0;
1907 za->za_sw_overrun++;
1911 za->za_rcvblk = bp;
1914 if (za->za_kick_rcv_id == 0)
1922 za->za_sw_overrun++;
1925 za->za_rcvblk = bp;
1939 za->za_do_kick_rcv_in_softint = 1;
1943 if ((za->za_flags & ZAS_SERVICEIMM) || g_nocluster) {
1957 register struct asyncline *za = (struct asyncline *)&zs->zs_priv_str;
1961 register mblk_t *bp = za->za_rcvblk;
1995 if (za->za_ttycommon.t_cflag & PARENB) {
1996 switch (za->za_ttycommon.t_cflag & CSIZE) {
2011 if ((za->za_ttycommon.t_cflag & PARODD) &&
2014 else if (!(za->za_ttycommon.t_cflag & PARODD) &&
2026 za->za_slav_break = 1;
2048 za->za_sw_overrun++;
2051 za->za_rcvblk = bp;
2059 za->za_do_kick_rcv_in_softint = 1;
2066 za->za_hw_overrun++;
2081 register struct asyncline *za = (struct asyncline *)&zs->zs_priv_str;
2098 q = za->za_ttycommon.t_readq;
2099 if (za->za_flags & ZAS_WOPEN && !q) {
2100 if (za->za_ext) {
2103 za->za_ext = 0;
2109 (za->za_ttycommon.t_flags & TS_SOFTCAR)) {
2113 if ((za->za_flags & ZAS_CARR_ON) == 0) {
2114 za->za_flags |= ZAS_CARR_ON;
2124 q = za->za_ttycommon.t_readq;
2130 m_error = za->za_m_error;
2131 za->za_m_error = 0;
2133 if (za->za_do_kick_rcv_in_softint) {
2136 za->za_do_kick_rcv_in_softint = 0;
2140 za_kick_active = za->za_kick_active;
2151 if (za->za_grace_flow_control >=
2153 if (za->za_ttycommon.t_cflag &
2163 za->za_grace_flow_control++;
2165 za->za_grace_flow_control = 0;
2181 if (za->za_ext) {
2184 za->za_ext = 0;
2189 (za->za_ttycommon.t_flags & TS_SOFTCAR)) {
2193 if ((za->za_flags & ZAS_CARR_ON) == 0) {
2194 za->za_flags |= ZAS_CARR_ON;
2199 if ((za->za_flags & ZAS_CARR_ON) &&
2200 !(za->za_ttycommon.t_cflag & CLOCAL)) {
2208 if ((za->za_flags & ZAS_BUSY) &&
2215 za->za_flags &= ~(ZAS_STOPPED | ZAS_CARR_ON |
2217 za->za_rcv_flags_mask &= ~(DO_TRANSMIT |
2222 if (hangup && (bp = za->za_xmitblk) != NULL) {
2223 za->za_xmitblk = NULL;
2228 if (za->za_break != 0) {
2233 za->za_break = 0;
2244 if (za->za_rcv_flags_mask & DO_TRANSMIT) {
2245 za->za_rcv_flags_mask &= ~DO_TRANSMIT;
2246 za->za_flags &= ~ZAS_BUSY;
2248 if ((za->za_ttycommon.t_cflag & CRTSCTS) &&
2249 (za->za_rcv_flags_mask & DO_RETRANSMIT) &&
2253 za->za_rcv_flags_mask &= ~DO_RETRANSMIT;
2254 bp = za->za_xmitblk;
2255 za->za_xmitblk = 0;
2262 if (!(za->za_flags & ZAS_BUSY))
2276 if ((!za->za_kick_rcv_id) && (zs->zs_rd_cur || za_kick_active)) {
2278 za->za_kick_rcv_id = timeout(zsa_kick_rcv, zs,
2281 za->za_kick_rcv_id = timeout(zsa_kick_rcv, zs,
2282 zsticks[SPEED(za->za_ttycommon.t_cflag)]);
2283 za->za_kick_rcv_count = ZA_KICK_RCV_COUNT;
2285 za->za_soft_active = 1;
2289 ttycommon_qfull(&za->za_ttycommon, q);
2295 if (za->za_hw_overrun > 10) {
2296 cmn_err(CE_NOTE, "zs%d: silo overflow\n", UNIT(za->za_dev));
2297 za->za_hw_overrun = 0;
2300 if (za->za_sw_overrun > 10) {
2302 UNIT(za->za_dev));
2303 za->za_sw_overrun = 0;
2331 flushq(za->za_ttycommon.t_writeq, flushflag);
2338 za->za_soft_active = 0;
2352 register struct asyncline *za = (struct asyncline *)&zs->zs_priv_str;
2363 if ((za->za_flags & (ZAS_BREAK|ZAS_BUSY|ZAS_DRAINING)) ||
2367 if (za->za_ttycommon.t_cflag & CRTSCTS) {
2369 if (za->za_rcv_flags_mask & DO_RETRANSMIT) {
2381 if (za->za_flowc != '\0') {
2383 if (za->za_ttycommon.t_cflag & CRTSCTS) {
2395 SCC_WRITEDATA(za->za_flowc);
2396 za->za_flowc = '\0';
2405 if (za->za_flags & ZAS_DELAY)
2408 if ((q = za->za_ttycommon.t_writeq) == NULL)
2434 if (!za->za_zsa_restart_id) {
2435 za->za_zsa_restart_id =
2438 za->za_flags |= ZAS_BREAK;
2448 if (! za->za_zsa_restart_id) {
2449 za->za_zsa_restart_id = timeout(zsa_restart,
2453 za->za_flags |= ZAS_DELAY;
2463 zsa_ioctl(za, q, bp);
2475 if (za->za_flags & ZAS_STOPPED) {
2480 za->za_xmitblk = bp;
2486 za->za_xmitblk->b_cont = NULL;
2491 freeb(za->za_xmitblk);
2492 za->za_xmitblk = NULL;
2501 if ((za->za_ttycommon.t_cflag & CSIZE) == CS5) {
2518 za->za_rcv_flags_mask &= ~DO_TRANSMIT;
2519 if (za->za_ttycommon.t_cflag & CRTSCTS) {
2522 za->za_rcv_flags_mask |= DO_RETRANSMIT;
2523 za->za_flags |= ZAS_BUSY;
2527 za->za_rcv_flags_mask &= ~DO_RETRANSMIT;
2530 za->za_flags |= ZAS_BUSY;
2542 za->za_wr++;
2545 za->za_flags |= ZAS_BUSY;
2557 struct asyncline *za = (struct asyncline *)&zs->zs_priv_str;
2563 if (!za->za_zsa_restart_id) {
2567 za->za_zsa_restart_id = 0;
2568 if (za->za_flags & ZAS_BREAK) {
2573 za->za_flags &= ~(ZAS_DELAY|ZAS_BREAK);
2574 if (za->za_ttycommon.t_writeq != NULL)
2587 struct asyncline *za = (struct asyncline *)&zs->zs_priv_str;
2597 if (za->za_kick_rcv_id == 0 || (zs->zs_flags & ZS_CLOSED)) {
2601 za_soft_active = za->za_soft_active;
2602 za_kick_active = za->za_kick_active;
2603 q = za->za_ttycommon.t_readq;
2611 za->za_kick_rcv_count = tmp = ZA_KICK_RCV_COUNT;
2613 tmp = --za->za_kick_rcv_count;
2617 za->za_kick_rcv_id = timeout(zsa_kick_rcv,
2620 za->za_kick_rcv_id = timeout(zsa_kick_rcv,
2621 zs, zsticks[SPEED(za->za_ttycommon.t_cflag)]);
2627 za->za_kick_rcv_id = 0;
2641 if (za->za_grace_flow_control >=
2643 if (za->za_ttycommon.t_cflag &
2653 za->za_grace_flow_control++;
2655 za->za_grace_flow_control = 0;
2671 za->za_kick_active = 1;
2675 ttycommon_qfull(&za->za_ttycommon, q);
2692 za->za_kick_active = 0;
2705 struct asyncline *za = arg;
2706 struct zscom *zs = za->za_common;
2714 if (!za->za_wbufcid) {
2718 za->za_wbufcid = 0;
2719 if ((q = za->za_ttycommon.t_writeq) == NULL) {
2723 if ((mp = za->za_ttycommon.t_iocpending) != NULL) {
2727 za->za_ttycommon.t_iocpending = NULL;
2728 zsa_ioctl(za, q, mp);
2740 zsa_ioctl(struct asyncline *za, queue_t *wq, mblk_t *mp)
2742 register struct zscom *zs = za->za_common;
2748 if (za->za_ttycommon.t_iocpending != NULL) {
2755 freemsg(za->za_ttycommon.t_iocpending);
2756 za->za_ttycommon.t_iocpending = NULL;
2772 datasize = ttycommon_ioctl(&za->za_ttycommon, wq, mp, &error);
2774 if (za->za_ttycommon.t_flags & TS_SOFTCAR)
2779 if (za->za_wbufcid)
2780 unbufcall(za->za_wbufcid);
2781 za->za_wbufcid = bufcall(datasize, BPRI_HI, zsa_reioctl, za);
2800 zsa_program(za, 1);
2801 zsa_set_za_rcv_flags_mask(za);
2824 delay(ztdelay(SPEED(za->za_ttycommon.t_cflag)));
2835 if (!za->za_zsa_restart_id) {
2837 za->za_zsa_restart_id =
2841 za->za_flags |= ZAS_BREAK;
2971 zsa_program(struct asyncline *za, int setibaud)
2973 register struct zscom *zs = za->za_common;
2977 if ((baudrate = SPEED(za->za_ttycommon.t_cflag)) == 0) {
2989 za->za_ttycommon.t_cflag &= ~(CIBAUD);
2991 za->za_ttycommon.t_cflag |= CIBAUDEXT;
2992 za->za_ttycommon.t_cflag |=
2995 za->za_ttycommon.t_cflag &= ~CIBAUDEXT;
2996 za->za_ttycommon.t_cflag |=
3006 if ((za->za_dev == rconsdev) || (za->za_dev == kbddev) ||
3007 (za->za_dev == stdindev) || (za->za_ttycommon.t_cflag & CREAD))
3026 switch (za->za_ttycommon.t_cflag & CSIZE) {
3049 if (za->za_ttycommon.t_cflag & PARENB) {
3055 if (za->za_ttycommon.t_iflag & INPCK)
3058 if (!(za->za_ttycommon.t_cflag & PARODD))
3061 wr4 |= (za->za_ttycommon.t_cflag & CSTOPB) ?
3075 if (za->za_ttycommon.t_cflag & CRTSCTS)
3078 if (za->za_ttycommon.t_cflag & CRTSCTS)
3104 za->za_flags |= ZAS_DRAINING;
3119 za->za_flags &= ~ZAS_DRAINING;
3154 struct asyncline *za = (struct asyncline *)&zs->zs_priv_str;
3158 if (za->za_bufcid) {
3159 za->za_bufcid = 0;
3169 zsa_set_za_rcv_flags_mask(struct asyncline *za)
3173 za->za_rcv_flags_mask &= ~0xFF;
3174 switch (za->za_ttycommon.t_cflag & CSIZE) {
3188 za->za_rcv_flags_mask &= ~(0xFF << 16);
3189 za->za_rcv_flags_mask |= mask << 16;
3191 if ((za->za_ttycommon.t_iflag & PARMRK) &&
3192 !(za->za_ttycommon.t_iflag & (IGNPAR|ISTRIP))) {
3193 za->za_rcv_flags_mask |= DO_ESC;
3195 za->za_rcv_flags_mask &= ~DO_ESC;
3196 if (za->za_ttycommon.t_iflag & IXON) {
3197 za->za_rcv_flags_mask |= DO_STOPC;
3198 za->za_rcv_flags_mask &= ~0xFF;
3199 za->za_rcv_flags_mask |= za->za_ttycommon.t_stopc;
3201 za->za_rcv_flags_mask &= ~DO_STOPC;
3207 struct asyncline *za;
3213 za = (struct asyncline *)&zs->zs_priv_str;
3227 restart_id = za->za_zsa_restart_id;
3228 za->za_zsa_restart_id = 0;
3229 kick_rcv_id = za->za_kick_rcv_id;
3230 za->za_kick_rcv_id = 0;
3247 delay(ztdelay(za->za_ttycommon.t_cflag & CBAUD));
3253 if ((q = za->za_ttycommon.t_writeq) != NULL) {
3256 za->za_flags &= ~ZAS_BUSY;
3257 za->za_rcv_flags_mask &= ~DO_RETRANSMIT;
3258 bp = za->za_xmitblk;
3262 za->za_xmitblk = NULL;
3275 za->za_flags &= ~ZAS_BREAK;
3304 register struct asyncline *za;
3307 za = (struct asyncline *)&zs->zs_priv_str;
3331 za->za_rcv_flags_mask |= DO_TRANSMIT;
3332 za->za_ext = 1;
3344 register struct asyncline *za = (struct asyncline *)&zs->zs_priv_str;
3345 register queue_t *q = za->za_ttycommon.t_writeq;
3350 if (za->za_ttycommon.t_flags & TS_SOFTCAR) printf(" t_fl:TS_SOFTCAR");
3351 if (za->za_ttycommon.t_flags & TS_XCLUDE) printf(" t_fl:TS_XCLUDE");
3352 if (za->za_ttycommon.t_iflag & IGNBRK) printf(" t_ifl:IGNBRK");
3353 if (za->za_ttycommon.t_iflag & BRKINT) printf(" t_ifl:BRKINT");
3354 if (za->za_ttycommon.t_iflag & IGNPAR) printf(" t_ifl:IGNPAR");
3355 if (za->za_ttycommon.t_iflag & PARMRK) printf(" t_ifl:PARMRK");
3356 if (za->za_ttycommon.t_iflag & INPCK) printf(" t_ifl:INPCK");
3357 if (za->za_ttycommon.t_iflag & ISTRIP) printf(" t_ifl:ISTRIP");
3358 if (za->za_ttycommon.t_iflag & INLCR) printf(" t_ifl:INLCR");
3359 if (za->za_ttycommon.t_iflag & IGNCR) printf(" t_ifl:IGNCR");
3360 if (za->za_ttycommon.t_iflag & ICRNL) printf(" t_ifl:ICRNL");
3361 if (za->za_ttycommon.t_iflag & IUCLC) printf(" t_ifl:IUCLC");
3362 if (za->za_ttycommon.t_iflag & IXON) printf(" t_ifl:IXON");
3363 if (za->za_ttycommon.t_iflag & IXOFF) printf(" t_ifl:IXOFF");
3368 if (za->za_ttycommon.t_cflag & CSIZE == CS5) printf(" t_cfl:CS5");
3369 if (za->za_ttycommon.t_cflag & CSIZE == CS6) printf(" t_cfl:CS6");
3370 if (za->za_ttycommon.t_cflag & CSIZE == CS7) printf(" t_cfl:CS7");
3371 if (za->za_ttycommon.t_cflag & CSIZE == CS8) printf(" t_cfl:CS8");
3372 if (za->za_ttycommon.t_cflag & CSTOPB) printf(" t_cfl:CSTOPB");
3373 if (za->za_ttycommon.t_cflag & CREAD) printf(" t_cfl:CREAD");
3374 if (za->za_ttycommon.t_cflag & PARENB) printf(" t_cfl:PARENB");
3375 if (za->za_ttycommon.t_cflag & PARODD) printf(" t_cfl:PARODD");
3376 if (za->za_ttycommon.t_cflag & HUPCL) printf(" t_cfl:HUPCL");
3377 if (za->za_ttycommon.t_cflag & CLOCAL) printf(" t_cfl:CLOCAL");
3378 printf(" t_stopc=%x", za->za_ttycommon.t_stopc);