1/*
2 * Copyright (C) 1995 by Pavel Antonov, Moscow, Russia.
3 * Copyright (C) 1995 by Andrey A. Chernov, Moscow, Russia.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
--- 537 unchanged lines hidden (view full) ---
546 rcout(CD180_MSVR, rc->rc_msvr |= MSVR_RTS);
547 }
548 enable_intr();
549 if (tp->t_state & (TS_TIMEOUT|TS_TTSTOP))
550 goto out;
551#ifdef RCDEBUG
552 printrcflags(rc, "rcstart");
553#endif
554 ttwwakeup(tp);
555#ifdef RCDEBUG
556 printf("rcstart: outq = %d obuf = %d\n",
557 tp->t_outq.c_cc, rc->rc_obufend - rc->rc_optr);
558#endif
559 if (tp->t_state & TS_BUSY)
560 goto out; /* output still in progress ... */
561
562 if (tp->t_outq.c_cc > 0) {
--- 966 unchanged lines hidden ---
2 * Copyright (C) 1995 by Pavel Antonov, Moscow, Russia.
3 * Copyright (C) 1995 by Andrey A. Chernov, Moscow, Russia.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
--- 537 unchanged lines hidden (view full) ---
546 rcout(CD180_MSVR, rc->rc_msvr |= MSVR_RTS);
547 }
548 enable_intr();
549 if (tp->t_state & (TS_TIMEOUT|TS_TTSTOP))
550 goto out;
551#ifdef RCDEBUG
552 printrcflags(rc, "rcstart");
553#endif
554 ttwwakeup(tp);
555#ifdef RCDEBUG
556 printf("rcstart: outq = %d obuf = %d\n",
557 tp->t_outq.c_cc, rc->rc_obufend - rc->rc_optr);
558#endif
559 if (tp->t_state & TS_BUSY)
560 goto out; /* output still in progress ... */
561
562 if (tp->t_outq.c_cc > 0) {
--- 966 unchanged lines hidden ---