projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8573e2
)
[SERIAL] sunsu: Report keyboard and mouse ports in kernel log.
author
David S. Miller
<davem@sunset.davemloft.net>
Thu, 13 Jul 2006 23:05:57 +0000
(16:05 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Sat, 15 Jul 2006 00:00:23 +0000
(17:00 -0700)
Otherwise there is no explicit mention of these devices.
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/serial/sunsu.c
patch
|
blob
|
history
diff --git
a/drivers/serial/sunsu.c
b/drivers/serial/sunsu.c
index 93bdaa3169fcc1a17bd32bf905db7c1bfd877c15..d3a5aeee73a34b33bb4736b751a2aacab8ec5e8a 100644
(file)
--- 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;