提交 bb9f910a 编写于 作者: J Jiri Slaby 提交者: Linus Torvalds

Char: moxa, notify about board readiness

Drop a message to dmesg about card being ready.
Signed-off-by: NJiri Slaby <jirislaby@gmail.com>
Tested-by: NOyvind Aabling <Oyvind.Aabling@uni-c.dk>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 08d01c79
......@@ -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++;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册