Re: [Linuxptp-devel] [PATCH 1/2] missing: add SIOCGHWTSTAMP to missing.h
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
|
From: Richard C. <ric...@gm...> - 2014-06-02 15:27:55
|
On Tue, May 27, 2014 at 10:34:35AM -0700, Jacob Keller wrote:
> diff --git a/missing.h b/missing.h
> index d6b2355cb8fb..5f21fe58d069 100644
> --- a/missing.h
> +++ b/missing.h
> @@ -50,6 +50,10 @@ enum _missing_hwtstamp_tx_types {
> };
> #endif
>
> +#ifndef SIOCGHWTSTAMP
> +#define SIOCGHWTSTAMP 0x89b1
> +#endif
> +
You must use the (architecture specific) macros rather than hard
coding the value.
Thanks,
Richard
|