From: Jiri Slaby Date: Wed, 30 Apr 2008 07:53:48 +0000 (-0700) Subject: Char: moxa, notify about board readiness X-Git-Tag: v2.6.26-rc1~215 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb9f910a1153101a2f92620f1e7d0fda786c9812;p=linux-2.6 Char: moxa, notify about board readiness Drop a message to dmesg about card being ready. Signed-off-by: Jiri Slaby Tested-by: Oyvind Aabling Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/moxa.c b/drivers/char/moxa.c index 318c465451..72b7e67931 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++; }