1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-02 12:20:51 +00:00

Recognize the NS16552 found in PCIe-based sun4u machines.

This commit is contained in:
Marius Strobl 2009-12-23 22:31:43 +00:00
parent c39f5f5af4
commit 48533564ca
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=200926
2 changed files with 3 additions and 2 deletions

View File

@ -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.

View File

@ -254,7 +254,8 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di)
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;
}