Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Mar 2014 19:59:52 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r262932 - head/sys/dev/uart
Message-ID:  <201403081959.s28JxqRj010706@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Sat Mar  8 19:59:52 2014
New Revision: 262932
URL: http://svnweb.freebsd.org/changeset/base/262932

Log:
  Back out r262921. I don't know what I was thinking, but it is lame.

Modified:
  head/sys/dev/uart/uart_core.c

Modified: head/sys/dev/uart/uart_core.c
==============================================================================
--- head/sys/dev/uart/uart_core.c	Sat Mar  8 19:44:34 2014	(r262931)
+++ head/sys/dev/uart/uart_core.c	Sat Mar  8 19:59:52 2014	(r262932)
@@ -473,7 +473,7 @@ uart_bus_attach(device_t dev)
 	}
 
 	if (sc->sc_sysdev != NULL) {
-		if (sc->sc_sysdev->baudrate != 0) {
+		if (sc->sc_sysdev->baudrate == 0) {
 			if (UART_IOCTL(sc, UART_IOCTL_BAUD,
 			    (intptr_t)&sc->sc_sysdev->baudrate) != 0)
 				sc->sc_sysdev->baudrate = -1;



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