Subject: Re: [PATCH 05/13] tile: support PTP using the tilegx mPIPE (IEEE 1588)

From: Chris Metcalf <[email-masked]>
Date: Wed, 24 Jul 2013 12:17:31 -0400

On 7/24/2013 2:29 AM, Richard Cochran wrote:
> On Tue, Jul 23, 2013 at 04:05:48PM -0400, Chris Metcalf wrote:
>
>> diff --git a/drivers/ptp/Kconfig b/drivers/ptp/Kconfig
>> index 5be73ba..255ed1a 100644
>> --- a/drivers/ptp/Kconfig
>> +++ b/drivers/ptp/Kconfig
>> @@ -87,4 +87,14 @@ config PTP_1588_CLOCK_PCH
>>  	  To compile this driver as a module, choose M here: the module
>>  	  will be called ptp_pch.
>>  
>> +config PTP_1588_CLOCK_TILEGX
>> +        tristate "Tilera TILE-Gx mPIPE as PTP clock"
>> +        select PTP_1588_CLOCK
>> +        depends on TILEGX
>> +        help
>> +          This driver adds support for using the mPIPE as a PTP
>> +          clock. This clock is only useful if your PTP programs are
>> +          getting hardware time stamps on the PTP Ethernet packets
>> +          using the SO_TIMESTAMPING API.
>> +
> Is this feature available on every TILEGX hardware variant?
> If not, then there needs to be some provision for that.

It is.

> Also, this option should probably appear under the main MAC option.

By that I assume you mean in drivers/net/ethernet/tile/Kconfig?  I will do that.

Thanks!

-- 
Chris Metcalf, Tilera Corp.
http://www.tilera.com