[RFT 8/9] Char: moxa, notify about board readiness

From: Jiri Slaby
Date: Thu Feb 07 2008 - 14:17:28 EST


Drop a message to dmesg about card is being ready.

Signed-off-by: Jiri Slaby <jirislaby@xxxxxxxxx>
---
drivers/char/moxa.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/drivers/char/moxa.c b/drivers/char/moxa.c
index 3b1760f..fd9c946 100644
--- a/drivers/char/moxa.c
+++ b/drivers/char/moxa.c
@@ -943,6 +943,8 @@ static int __devinit moxa_pci_probe(struct pci_dev *pdev,

pci_set_drvdata(pdev, board);

+ dev_info(&pdev->dev, "board ready (firmware loaded)\n");
+
return 0;
err_base:
iounmap(board->basemem);
@@ -1028,6 +1030,10 @@ static int __init moxa_init(void)
continue;
}

+ printk(KERN_INFO "moxa isa board found at 0x%.8lu and "
+ "ready (firmware loaded)\n",
+ baseaddr[i]);
+
brd++;
isabrds++;
}
--
1.5.3.8

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/