net:phy:dp83640: Do not hardcode timestamping event edge
authorStefan Sørensen <stefan.sorensen@spectralink.com>
Mon, 3 Feb 2014 14:36:50 +0000 (15:36 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Feb 2014 04:07:36 +0000 (20:07 -0800)
commit80671bd2a91b81b8e06634e8309ce94df688c42c
treec1f143588dd56643cdf80777ca04a561acca3a91
parente2e2f51dd0254fa0002bcd1c5fda180348163f09
net:phy:dp83640: Do not hardcode timestamping event edge

Currently the external timestamping code is hardcoded to use the
rising edge even though the hardware has configurable event edge
detection. This patch changes the code to use falling edge detection
if PTP_FALLING_EDGE is set in the user supplied flags.

Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/dp83640.c
This page took 0.026444 seconds and 5 git commands to generate.