Date: Wed, 23 Dec 2009 22:31:43 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r200926 - head/sys/dev/uart Message-ID: <200912232231.nBNMVhd0011244@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marius Date: Wed Dec 23 22:31:43 2009 New Revision: 200926 URL: http://svn.freebsd.org/changeset/base/200926 Log: Recognize the NS16552 found in PCIe-based sun4u machines. Modified: head/sys/dev/uart/uart_bus_ebus.c head/sys/dev/uart/uart_cpu_sparc64.c Modified: head/sys/dev/uart/uart_bus_ebus.c ============================================================================== --- head/sys/dev/uart/uart_bus_ebus.c Wed Dec 23 22:25:23 2009 (r200925) +++ head/sys/dev/uart/uart_bus_ebus.c Wed Dec 23 22:31:43 2009 (r200926) @@ -77,7 +77,7 @@ uart_ebus_probe(device_t dev) if (!strcmp(nm, "lom-console") || !strcmp(nm, "su") || !strcmp(nm, "su_pnp") || !strcmp(cmpt, "rsc-console") || !strcmp(cmpt, "rsc-control") || !strcmp(cmpt, "su") || - !strcmp(cmpt, "su16550")) { + !strcmp(cmpt, "su16550") || !strcmp(cmpt, "su16552")) { /* * On AXi and AXmp boards the NS16550 (used to connect * keyboard/mouse) share their IRQ lines with the i8042. Modified: head/sys/dev/uart/uart_cpu_sparc64.c ============================================================================== --- head/sys/dev/uart/uart_cpu_sparc64.c Wed Dec 23 22:25:23 2009 (r200925) +++ head/sys/dev/uart/uart_cpu_sparc64.c Wed Dec 23 22:31:43 2009 (r200926) @@ -254,7 +254,8 @@ uart_cpu_getdev(int devtype, struct uart addr += range - range * (di->bas.chan - 1); } else if (!strcmp(buf, "lom-console") || !strcmp(buf, "su") || !strcmp(buf, "su_pnp") || !strcmp(compat, "rsc-console") || - !strcmp(compat, "su") || !strcmp(compat, "su16550")) { + !strcmp(compat, "su") || !strcmp(compat, "su16550") || + !strcmp(compat, "su16552")) { class = &uart_ns8250_class; di->bas.chan = 0; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912232231.nBNMVhd0011244>