aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/jsm
diff options
context:
space:
mode:
authorBreno Leitão <leitao@linux.vnet.ibm.com>2009-09-24 15:58:23 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-11 18:18:02 -0500
commit354aaf964ed1ae45c175aa496526bae4662c4452 (patch)
tree45fe9028cfbdbf74b3f707d3b690d420e11ce543 /drivers/serial/jsm
parenta88a477f1df703f0e2a7592e19618799cb598623 (diff)
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 7439c037362..6423dfb825f 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)
472 if (uart_add_one_port (&jsm_uart_driver, &brd->channels[i]->uart_port)) 472 if (uart_add_one_port (&jsm_uart_driver, &brd->channels[i]->uart_port))
473 printk(KERN_INFO "jsm: add device failed\n"); 473 printk(KERN_INFO "jsm: add device failed\n");
474 else 474 else
475 printk(KERN_INFO "Added device \n"); 475 printk(KERN_INFO "jsm: Port %d added\n", i);
476 } 476 }
477 477
478 jsm_printk(INIT, INFO, &brd->pci_dev, "finish\n"); 478 jsm_printk(INIT, INFO, &brd->pci_dev, "finish\n");