[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1202411485-16022-8-git-send-email-jirislaby@gmail.com>
Date: Thu, 7 Feb 2008 20:11:24 +0100
From: Jiri Slaby <jirislaby@...il.com>
To: "Oyvind Aabling" <Oyvind.Aabling@...-c.dk>
Cc: <linux-kernel@...r.kernel.org>, Jiri Slaby <jirislaby@...il.com>
Subject: [RFT 8/9] Char: moxa, notify about board readiness
Drop a message to dmesg about card is being ready.
Signed-off-by: Jiri Slaby <jirislaby@...il.com>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists