Skip to content

Commit

Permalink
[SERIAL] sunsu: Report keyboard and mouse ports in kernel log.
Browse files Browse the repository at this point in the history
Otherwise there is no explicit mention of these devices.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Jul 15, 2006
1 parent d8573e2 commit c964521
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/serial/sunsu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c964521

Please sign in to comment.