lkml.org 
[lkml]   [2008]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFT 8/9] Char: moxa, notify about board readiness
Date
Drop a message to dmesg about card is being ready.

Signed-off-by: Jiri Slaby <jirislaby@gmail.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


\
 
 \ /
  Last update: 2008-02-07 20:21    [from the cache]
©2003-2011 Jasper Spaans