Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 2002 21:27:15 -0800 (PST)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 22908 for review
Message-ID:  <200212300527.gBU5RFkP017817@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=22908

Change 22908 by marcel@marcel_nfs on 2002/12/29 21:26:39

	Use CONSPEED as the baudrate if it's zero. Setting CONSPEED to
	zero means that we'll use the current setting of the UART.

Affected files ...

.. //depot/projects/ia64/sys/dev/sio/sio_cons.c#10 edit

Differences ...

==== //depot/projects/ia64/sys/dev/sio/sio_cons.c#10 (text+ko) ====

@@ -134,6 +134,9 @@
 
 	sio_console.rclk = (cd.rclk != 0) ? cd.rclk : DEFAULT_RCLK;
 
+	if (cd.baud == 0)
+		cd.baud = CONSPEED;
+
 	/* Set DL and LCR. */
 	lcr = siocnlcr(&cd);
 	sio_setreg(&sio_console, com_lcr, lcr | LCR_DLAB);

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212300527.gBU5RFkP017817>