PERFORCE change 37554 for review

Marcel Moolenaar marcel at FreeBSD.org
Thu Sep 4 23:54:44 PDT 2003


http://perforce.freebsd.org/chv.cgi?CH=37554

Change 37554 by marcel at 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);
 }
 


More information about the p4-projects mailing list