mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
MFC: r200926
Recognize the NS16552 found in PCIe-based sun4u machines.
This commit is contained in:
parent
1f0040f79f
commit
74794d0d58
2 changed files with 3 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue