mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -04:00
[SERIAL] sunsu: Report keyboard and mouse ports in kernel log.
Otherwise there is no explicit mention of these devices. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d8573e20d5
commit
c964521c54
1 changed files with 5 additions and 0 deletions
|
@ -1200,6 +1200,11 @@ static int __init sunsu_kbd_ms_init(struct uart_sunsu_port *up)
|
||||||
if (up->port.type == PORT_UNKNOWN)
|
if (up->port.type == PORT_UNKNOWN)
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
|
||||||
|
printk("%s: %s port at %lx, irq %u\n",
|
||||||
|
to_of_device(up->port.dev)->node->full_name,
|
||||||
|
(up->su_type == SU_PORT_KBD) ? "Keyboard" : "Mouse",
|
||||||
|
up->port.mapbase, up->port.irq);
|
||||||
|
|
||||||
#ifdef CONFIG_SERIO
|
#ifdef CONFIG_SERIO
|
||||||
serio = &up->serio;
|
serio = &up->serio;
|
||||||
serio->port_data = up;
|
serio->port_data = up;
|
||||||
|
|
Loading…
Add table
Reference in a new issue