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>
This commit is contained in:
Mark Hounschell 2014-03-12 12:50:56 -04:00 committed by Greg Kroah-Hartman
parent bd3e43e5f0
commit c0c31b9b2a
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}