Re: [PATCH 3/5] net: ethernet: gianfar_ethtool: get phc index through drvdata

From: David Miller
Date: Mon May 28 2018 - 23:06:10 EST


From: Yangbo Lu <yangbo.lu@xxxxxxx>
Date: Fri, 25 May 2018 12:40:36 +0800

> Global variable gfar_phc_index was used to get and store
> phc index through gianfar_ptp driver. However gianfar_ptp
> had been renamed as ptp_qoriq for QorIQ common PTP driver.
> This gfar_phc_index doesn't work any more, and the phc index
> is stored in drvdata now. This patch is to support getting
> phc index through ptp_qoriq drvdata.
>
> Signed-off-by: Yangbo Lu <yangbo.lu@xxxxxxx>

Applied.