From: Mark Hounschell Date: Wed, 12 Mar 2014 16:50:56 +0000 (-0400) Subject: staging: dgap: Add a pr_info per board info X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c0c31b9b2a65c7d8f28f94577cbd234764f3cdcc;p=linux-beck.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/dgap/dgap.c b/drivers/staging/dgap/dgap.c index 1dc209536f95..224f6a51cbcd 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; }