]> git.baikalelectronics.ru Git - kernel.git/commit
igb: Reject requests that fail to enable time stamping on both edges.
authorRichard Cochran <richardcochran@gmail.com>
Thu, 14 Nov 2019 18:45:05 +0000 (10:45 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Nov 2019 20:48:32 +0000 (12:48 -0800)
commit2df32d47ac1c1770684e1287b556ef29fc1c7a21
treea87b4a15a90f4e0d11ccbffd12ab4b232433f80d
parente496a20e653b204ae20a0df766161a0616ac4a2e
igb: Reject requests that fail to enable time stamping on both edges.

This hardware always time stamps rising and falling edges, and so this
patch validates that the request does contains both edges.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/igb/igb_ptp.c