]> git.baikalelectronics.ru Git - kernel.git/commit
dp83640: enable six external events and one periodic output
authorRichard Cochran <richardcochran@gmail.com>
Tue, 20 Sep 2011 01:43:14 +0000 (01:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Sep 2011 20:02:43 +0000 (16:02 -0400)
commit1363d942d1b6a89cd28bb459cd292398de17059f
tree3f2c723c3ea48ebc61f07f9679db7e7f19ba3d3d
parentcab62e85f67556d33d5abb93ad7faba408ce8e5f
dp83640: enable six external events and one periodic output

This patch enables six external event channels and one periodic output.
One GPIO is reserved for synchronizing multiple PHYs. The assignment
of GPIO functions can be changed via a module parameter.

The code supports multiple simultaneous events by inducing a PTP clock
event for every channel marked in the PHY's extended status word.

Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/dp83640.c