rc.c (111002) | rc.c (111564) |
---|---|
1/* 2 * Copyright (C) 1995 by Pavel Antonov, Moscow, Russia. 3 * Copyright (C) 1995 by Andrey A. Chernov, Moscow, Russia. 4 * Copyright (C) 2002 by John Baldwin <jhb@FreeBSD.org> 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 11 unchanged lines hidden (view full) --- 20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 * | 1/* 2 * Copyright (C) 1995 by Pavel Antonov, Moscow, Russia. 3 * Copyright (C) 1995 by Andrey A. Chernov, Moscow, Russia. 4 * Copyright (C) 2002 by John Baldwin <jhb@FreeBSD.org> 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 11 unchanged lines hidden (view full) --- 20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 * |
28 * $FreeBSD: head/sys/dev/rc/rc.c 111002 2003-02-16 14:13:23Z phk $ | 28 * $FreeBSD: head/sys/dev/rc/rc.c 111564 2003-02-26 19:21:56Z jhb $ |
29 */ 30 31/* 32 * SDL Communications Riscom/8 (based on Cirrus Logic CL-CD180) driver 33 * 34 */ 35 36/*#define RCDEBUG*/ --- 776 unchanged lines hidden (view full) --- 813 if (rc->rc_flags & RC_DOXXFER) { 814 critical_enter(); 815 sc->sc_scheduled_event -= LOTS_OF_EVENTS; 816 rc->rc_flags &= ~RC_DOXXFER; 817 rc->rc_tp.t_state &= ~TS_BUSY; 818 critical_exit(); 819 (*linesw[tp->t_line].l_start)(tp); 820 } | 29 */ 30 31/* 32 * SDL Communications Riscom/8 (based on Cirrus Logic CL-CD180) driver 33 * 34 */ 35 36/*#define RCDEBUG*/ --- 776 unchanged lines hidden (view full) --- 813 if (rc->rc_flags & RC_DOXXFER) { 814 critical_enter(); 815 sc->sc_scheduled_event -= LOTS_OF_EVENTS; 816 rc->rc_flags &= ~RC_DOXXFER; 817 rc->rc_tp.t_state &= ~TS_BUSY; 818 critical_exit(); 819 (*linesw[tp->t_line].l_start)(tp); 820 } |
821 if (sc->sc_scheduled_event == 0) 822 break; |
|
821 } | 823 } |
822 if (sc->sc_scheduled_event == 0) 823 break; 824 } 825 while (sc->sc_scheduled_event >= LOTS_OF_EVENTS); | 824 } while (sc->sc_scheduled_event >= LOTS_OF_EVENTS); |
826} 827 828static void 829rc_stop(struct tty *tp, int rw) 830{ 831 struct rc_softc *sc; 832 struct rc_chans *rc; 833 u_char *tptr, *eptr; --- 765 unchanged lines hidden --- | 825} 826 827static void 828rc_stop(struct tty *tp, int rw) 829{ 830 struct rc_softc *sc; 831 struct rc_chans *rc; 832 u_char *tptr, *eptr; --- 765 unchanged lines hidden --- |