diff options
author | Breno Leitão <leitao@linux.vnet.ibm.com> | 2009-09-24 15:58:23 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-11 18:18:02 -0500 |
commit | 354aaf964ed1ae45c175aa496526bae4662c4452 (patch) | |
tree | 45fe9028cfbdbf74b3f707d3b690d420e11ce543 /drivers/serial/jsm | |
parent | a88a477f1df703f0e2a7592e19618799cb598623 (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.c | 2 |
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) | |||
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"); |