diff options
author | Mark Hounschell <markh@compro.net> | 2014-03-12 12:50:56 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-17 14:35:44 -0700 |
commit | c0c31b9b2a65c7d8f28f94577cbd234764f3cdcc (patch) | |
tree | 92a21aa2a62aee1dc874c15ae2db816b3796013c /drivers/staging/dgap | |
parent | bd3e43e5f063ee72fe888d0cc8215a5664f0b320 (diff) |
staging: dgap: Add a pr_info per board info
This patch adds a pr_info per board that indicates
board number, type, etc..
Signed-off-by: Mark Hounschell <markh@compro.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgap')
-rw-r--r-- | drivers/staging/dgap/dgap.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/staging/dgap/dgap.c b/drivers/staging/dgap/dgap.c index 1dc209536f9..224f6a51cbc 100644 --- a/drivers/staging/dgap/dgap.c +++ b/drivers/staging/dgap/dgap.c @@ -820,6 +820,10 @@ static int dgap_found_board(struct pci_dev *pdev, int id) if (i) brd->state = BOARD_FAILED; + pr_info("dgap: board %d: %s (rev %d), irq %ld, %s\n", + dgap_NumBoards, brd->name, brd->rev, brd->irq, + brd->state ? "NOT READY\0" : "READY\0"); + return 0; } |