Date: Thu, 1 Apr 2004 23:23:44 -0800 (PST) From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 50170 for review Message-ID: <200404020723.i327Niak098531@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=50170 Change 50170 by marcel@marcel_nfs on 2004/04/01 23:22:49 Don't check whether the debug port is also the console. Since we're comparing the package handle, we're getting false positives if the serial device has multiple channels. Affected files ... .. //depot/projects/gdb/sys/dev/uart/uart_cpu_sparc64.c#6 edit Differences ... ==== //depot/projects/gdb/sys/dev/uart/uart_cpu_sparc64.c#6 (text+ko) ==== @@ -121,11 +121,6 @@ return (-1); if (strcmp(buf, "serial") != 0) return (-1); - /* Rudimentary sanity check: the debug port cannot be the console. */ - if (OF_getprop(options, "input-device", buf, sizeof(buf)) == -1) - return (input); - if (OF_finddevice(buf) == input) - return (-1); return (input); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404020723.i327Niak098531>