diff options
Diffstat (limited to 'drivers/net/ethernet/freescale')
-rw-r--r-- | drivers/net/ethernet/freescale/fec_main.c | 3 | ||||
-rw-r--r-- | drivers/net/ethernet/freescale/fec_ptp.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c index befdf78b3f69..153437b32358 100644 --- a/drivers/net/ethernet/freescale/fec_main.c +++ b/drivers/net/ethernet/freescale/fec_main.c | |||
@@ -1858,6 +1858,9 @@ fec_probe(struct platform_device *pdev) | |||
1858 | if (ret) | 1858 | if (ret) |
1859 | goto failed_register; | 1859 | goto failed_register; |
1860 | 1860 | ||
1861 | if (fep->bufdesc_ex && fep->ptp_clock) | ||
1862 | netdev_info(ndev, "registered PHC device %d\n", fep->dev_id); | ||
1863 | |||
1861 | return 0; | 1864 | return 0; |
1862 | 1865 | ||
1863 | failed_register: | 1866 | failed_register: |
diff --git a/drivers/net/ethernet/freescale/fec_ptp.c b/drivers/net/ethernet/freescale/fec_ptp.c index 1f17ca0f2201..e040c8b2733a 100644 --- a/drivers/net/ethernet/freescale/fec_ptp.c +++ b/drivers/net/ethernet/freescale/fec_ptp.c | |||
@@ -379,7 +379,5 @@ void fec_ptp_init(struct net_device *ndev, struct platform_device *pdev) | |||
379 | if (IS_ERR(fep->ptp_clock)) { | 379 | if (IS_ERR(fep->ptp_clock)) { |
380 | fep->ptp_clock = NULL; | 380 | fep->ptp_clock = NULL; |
381 | pr_err("ptp_clock_register failed\n"); | 381 | pr_err("ptp_clock_register failed\n"); |
382 | } else { | ||
383 | pr_info("registered PHC device on %s\n", ndev->name); | ||
384 | } | 382 | } |
385 | } | 383 | } |