From: David S. Miller Date: Thu, 13 Jul 2006 23:05:57 +0000 (-0700) Subject: [SERIAL] sunsu: Report keyboard and mouse ports in kernel log. X-Git-Tag: v2.6.18-rc2~7^2~3 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=c964521c54304f51705764334f7b27a9518ed65a;p=~shefty%2Frdma-dev.git [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 --- diff --git a/drivers/serial/sunsu.c b/drivers/serial/sunsu.c index 93bdaa3169f..d3a5aeee73a 100644 --- a/drivers/serial/sunsu.c +++ b/drivers/serial/sunsu.c @@ -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;