summaryrefslogtreecommitdiffstats
path: root/drivers/serial/jsm
diff options
context:
space:
mode:
authorBreno Leitão <leitao@linux.vnet.ibm.com>2009-09-24 21:58:23 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-12 00:18:02 +0100
commit354aaf964ed1ae45c175aa496526bae4662c4452 (patch)
tree45fe9028cfbdbf74b3f707d3b690d420e11ce543 /drivers/serial/jsm
parentjsm: IRQ handlers doesn't need to have IRQ_DISABLED enabled (diff)
downloadlinux-354aaf964ed1ae45c175aa496526bae4662c4452.tar.xz
linux-354aaf964ed1ae45c175aa496526bae4662c4452.zip
jsm: Rewriting a bad log message
Actually jsm displays "Device Added" 8 times (for a 8 port device). This silly patch just makes things more informative, showing the port (instead of the device) that was added. Signed-off-by: Breno Leitão <leitao@linux.vnet.ibm.com> Cc: Scott Kilau <scottk@digi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/serial/jsm')
-rw-r--r--drivers/serial/jsm/jsm_tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/jsm/jsm_tty.c b/drivers/serial/jsm/jsm_tty.c
index 7439c0373620..6423dfb825f4 100644
--- a/drivers/serial/jsm/jsm_tty.c
+++ b/drivers/serial/jsm/jsm_tty.c
@@ -472,7 +472,7 @@ int __devinit jsm_uart_port_init(struct jsm_board *brd)
if (uart_add_one_port (&jsm_uart_driver, &brd->channels[i]->uart_port))
printk(KERN_INFO "jsm: add device failed\n");
else
- printk(KERN_INFO "Added device \n");
+ printk(KERN_INFO "jsm: Port %d added\n", i);
}
jsm_printk(INIT, INFO, &brd->pci_dev, "finish\n");