[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1401111639-11507-1-git-send-email-alexander.stein@systec-electronic.com>
Date: Mon, 26 May 2014 15:40:34 +0200
From: Alexander Stein <alexander.stein@...tec-electronic.com>
To: "David S. Miller" <davem@...emloft.net>
Cc: Daniel Krueger <daniel.krueger@...tec-electronic.com>,
netdev@...r.kernel.org,
Alexander Stein <alexander.stein@...tec-electronic.com>
Subject: [PATCH 1/6] pch_gbe: print invalid MAC address during probe
From: Daniel Krueger <daniel.krueger@...tec-electronic.com>
It is also neat to show the actual offending MAC address instead of just
rejecting it
Signed-off-by: Daniel Krueger <daniel.krueger@...tec-electronic.com>
Signed-off-by: Alexander Stein <alexander.stein@...tec-electronic.com>
---
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c b/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c
index 73e6683..42fa431 100644
--- a/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c
+++ b/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c
@@ -2674,6 +2674,7 @@ static int pch_gbe_probe(struct pci_dev *pdev,
*/
dev_err(&pdev->dev, "Invalid MAC address, "
"interface disabled.\n");
+ dev_err(&pdev->dev, "%pM\n", adapter->hw.mac.addr);
}
setup_timer(&adapter->watchdog_timer, pch_gbe_watchdog,
(unsigned long)adapter);
--
1.8.5.5
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists