Date: Mon, 25 Aug 2003 19:54:40 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 36926 for review Message-ID: <200308260254.h7Q2seKu021773@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=36926 Change 36926 by marcel@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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308260254.h7Q2seKu021773>