Commit c0c31b9b authored by Mark Hounschell's avatar Mark Hounschell Committed by Greg Kroah-Hartman

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: default avatarMark Hounschell <markh@compro.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bd3e43e5
...@@ -820,6 +820,10 @@ static int dgap_found_board(struct pci_dev *pdev, int id) ...@@ -820,6 +820,10 @@ static int dgap_found_board(struct pci_dev *pdev, int id)
if (i) if (i)
brd->state = BOARD_FAILED; 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; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment