Date: Thu, 4 Sep 2003 23:54:42 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 37554 for review Message-ID: <200309050654.h856sgGn090451@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=37554 Change 37554 by marcel@marcel_nfs on 2003/09/04 23:53:59 Clear DTR and RTS for non-system devices and get the current DCE signals. This creates a cleaner initial state. Affected files ... .. //depot/projects/uart/dev/uart/uart_dev_sab82532.c#24 edit Differences ... ==== //depot/projects/uart/dev/uart/uart_dev_sab82532.c#24 (text+ko) ==== @@ -397,6 +397,10 @@ imr1 = SAB_IMR1_BRKT|SAB_IMR1_ALLS|SAB_IMR1_CSC; uart_setreg(bas, SAB_IMR1, 0xff & ~imr1); uart_barrier(bas); + + if (sc->sc_sysdev == NULL) + sab82532_bus_setsig(sc, UART_SIG_DDTR|UART_SIG_DRTS); + (void)sab82532_bus_getsig(sc); return (0); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309050654.h856sgGn090451>