summaryrefslogtreecommitdiffstats
path: root/drivers/char/moxa.c
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2008-04-30 00:53:48 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-30 08:29:43 -0700
commitbb9f910a1153101a2f92620f1e7d0fda786c9812 (patch)
tree7532a939bb7de2b1c8c019f47b5ec705ef83cada /drivers/char/moxa.c
parent08d01c792568ba07d2bcf5202dbc8484dbff6747 (diff)
downloadop-kernel-dev-bb9f910a1153101a2f92620f1e7d0fda786c9812.zip
op-kernel-dev-bb9f910a1153101a2f92620f1e7d0fda786c9812.tar.gz
Char: moxa, notify about board readiness
Drop a message to dmesg about card being ready. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Tested-by: Oyvind Aabling <Oyvind.Aabling@uni-c.dk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/moxa.c')
-rw-r--r--drivers/char/moxa.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/char/moxa.c b/drivers/char/moxa.c
index 318c465..72b7e67 100644
--- a/drivers/char/moxa.c
+++ b/drivers/char/moxa.c
@@ -961,6 +961,9 @@ static int __devinit moxa_pci_probe(struct pci_dev *pdev,
pci_set_drvdata(pdev, board);
+ dev_info(&pdev->dev, "board '%s' ready (%u ports, firmware loaded)\n",
+ moxa_brdname[board_type - 1], board->numPorts);
+
return 0;
err_base:
iounmap(board->basemem);
@@ -1047,6 +1050,10 @@ static int __init moxa_init(void)
continue;
}
+ printk(KERN_INFO "MOXA isa board found at 0x%.8lu and "
+ "ready (%u ports, firmware loaded)\n",
+ baseaddr[i], brd->numPorts);
+
brd++;
isabrds++;
}
OpenPOWER on IntegriCloud