Re: stmmac: Reporting ethtool_ts_info

2015-10-29 Thread Rayagond Kokatanur
On Tue, Oct 27, 2015 at 11:41 AM, Phil Reid wrote: > G'day All, > > The stmmac driver checks (priv->hwts_tx_en) && (priv->hwts_rx_en) before > reporting WHTSTAMP capabilities. > No other driver seems to do this. hwts_*_en indicate if timestamping is > enabled, not if the

stmmac: Reporting ethtool_ts_info

2015-10-27 Thread Phil Reid
G'day All, The stmmac driver checks (priv->hwts_tx_en) && (priv->hwts_rx_en) before reporting WHTSTAMP capabilities. No other driver seems to do this. hwts_*_en indicate if timestamping is enabled, not if the interface is capable of it. Instead they check there capabilities. Which would be