Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c964521c authored by David S. Miller's avatar David S. Miller
Browse files

[SERIAL] sunsu: Report keyboard and mouse ports in kernel log.



Otherwise there is no explicit mention of these devices.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d8573e20
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1200,6 +1200,11 @@ static int __init sunsu_kbd_ms_init(struct uart_sunsu_port *up)
	if (up->port.type == PORT_UNKNOWN)
		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
	serio = &up->serio;
	serio->port_data = up;