rc.c (9232) | rc.c (9626) |
---|---|
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 | 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 if (tp->t_outq.c_cc <= tp->t_lowat) { 555 if (tp->t_state & TS_ASLEEP) { 556 tp->t_state &= ~TS_ASLEEP; 557 wakeup((caddr_t)&tp->t_outq); 558 } 559 selwakeup(&tp->t_wsel); 560 } | 554 ttwwakeup(tp); |
561#ifdef RCDEBUG 562 printf("rcstart: outq = %d obuf = %d\n", 563 tp->t_outq.c_cc, rc->rc_obufend - rc->rc_optr); 564#endif 565 if (tp->t_state & TS_BUSY) 566 goto out; /* output still in progress ... */ 567 568 if (tp->t_outq.c_cc > 0) { --- 966 unchanged lines hidden --- | 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 --- |