PERFORCE change 50170 for review
Marcel Moolenaar
marcel at FreeBSD.org
Thu Apr 1 23:23:45 PST 2004
http://perforce.freebsd.org/chv.cgi?CH=50170
Change 50170 by marcel at 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);
}
More information about the p4-projects
mailing list