diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2008-04-30 03:53:48 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 11:29:43 -0400 |
commit | bb9f910a1153101a2f92620f1e7d0fda786c9812 (patch) | |
tree | 7532a939bb7de2b1c8c019f47b5ec705ef83cada /drivers/char/moxa.c | |
parent | 08d01c792568ba07d2bcf5202dbc8484dbff6747 (diff) |
Char: moxa, notify about board readiness
Drop a message to dmesg about card being ready.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Tested-by: Oyvind Aabling <Oyvind.Aabling@uni-c.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/moxa.c')
-rw-r--r-- | drivers/char/moxa.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/char/moxa.c b/drivers/char/moxa.c index 318c465451e6..72b7e6793169 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, | |||
961 | 961 | ||
962 | pci_set_drvdata(pdev, board); | 962 | pci_set_drvdata(pdev, board); |
963 | 963 | ||
964 | dev_info(&pdev->dev, "board '%s' ready (%u ports, firmware loaded)\n", | ||
965 | moxa_brdname[board_type - 1], board->numPorts); | ||
966 | |||
964 | return 0; | 967 | return 0; |
965 | err_base: | 968 | err_base: |
966 | iounmap(board->basemem); | 969 | iounmap(board->basemem); |
@@ -1047,6 +1050,10 @@ static int __init moxa_init(void) | |||
1047 | continue; | 1050 | continue; |
1048 | } | 1051 | } |
1049 | 1052 | ||
1053 | printk(KERN_INFO "MOXA isa board found at 0x%.8lu and " | ||
1054 | "ready (%u ports, firmware loaded)\n", | ||
1055 | baseaddr[i], brd->numPorts); | ||
1056 | |||
1050 | brd++; | 1057 | brd++; |
1051 | isabrds++; | 1058 | isabrds++; |
1052 | } | 1059 | } |