rc.c (111564) | rc.c (111748) |
---|---|
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 111564 2003-02-26 19:21:56Z jhb $ | 28 * $FreeBSD: head/sys/dev/rc/rc.c 111748 2003-03-02 16:54:40Z des $ |
29 */ 30 31/* 32 * SDL Communications Riscom/8 (based on Cirrus Logic CL-CD180) driver 33 * 34 */ 35 36/*#define RCDEBUG*/ --- 965 unchanged lines hidden (view full) --- 1002 (void) rc_modctl(rc, TIOCM_RTS, DMSET); 1003 if (rc->rc_dtrwait) { 1004 callout_reset(&rc->rc_dtrcallout, rc->rc_dtrwait, 1005 rc_dtrwakeup, rc); 1006 rc->rc_flags |= RC_DTR_OFF; 1007 } 1008 } 1009 rc->rc_flags &= ~RC_ACTOUT; | 29 */ 30 31/* 32 * SDL Communications Riscom/8 (based on Cirrus Logic CL-CD180) driver 33 * 34 */ 35 36/*#define RCDEBUG*/ --- 965 unchanged lines hidden (view full) --- 1002 (void) rc_modctl(rc, TIOCM_RTS, DMSET); 1003 if (rc->rc_dtrwait) { 1004 callout_reset(&rc->rc_dtrcallout, rc->rc_dtrwait, 1005 rc_dtrwakeup, rc); 1006 rc->rc_flags |= RC_DTR_OFF; 1007 } 1008 } 1009 rc->rc_flags &= ~RC_ACTOUT; |
1010 wakeup((caddr_t) &rc->rc_rcb); /* wake bi */ | 1010 wakeup( &rc->rc_rcb); /* wake bi */ |
1011 wakeup(TSA_CARR_ON(tp)); 1012 (void) splx(s); 1013} 1014 1015/* Reset the bastard */ 1016static void 1017rc_hwreset(struct rc_softc *sc, uint chipid) 1018{ --- 579 unchanged lines hidden --- | 1011 wakeup(TSA_CARR_ON(tp)); 1012 (void) splx(s); 1013} 1014 1015/* Reset the bastard */ 1016static void 1017rc_hwreset(struct rc_softc *sc, uint chipid) 1018{ --- 579 unchanged lines hidden --- |