PERFORCE change 36926 for review
Marcel Moolenaar
marcel at FreeBSD.org
Mon Aug 25 19:54:42 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=36926
Change 36926 by marcel at marcel_nfs on 2003/08/25 19:54:14
On panther.freebsd.org the ns8250 based UARTs are called
su_pnp, not su. Match it.
NOTE: The detection of the console isn't right. We should
not be using /chosen to get the ihandle, because it doesn't
give us information about options. It's the device options
that are used to destinguish between channel A or channel B
of the se device. Hence, we cannot currently use channel B
for the console.
Affected files ...
.. //depot/projects/uart/dev/uart/uart_cpu_sparc64.c#4 edit
Differences ...
==== //depot/projects/uart/dev/uart/uart_cpu_sparc64.c#4 (text+ko) ====
@@ -90,7 +90,7 @@
return (ENXIO);
if (!strcmp(buffer, "se"))
di->ops = uart_sab82532_ops;
- else if (!strcmp(buffer, "su"))
+ else if (!strcmp(buffer, "su") || !strcmp(buffer, "su_pnp"))
di->ops = uart_ns8250_ops;
else
return (ENXIO);
More information about the p4-projects
mailing list