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:
parent
c39f5f5af4
commit
48533564ca
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=200926
@ -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 New Issue
Block a user