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)
commit49b3fd4aff7ede794d4fe50b80095eb33cc9d911
tree3f2c723c3ea48ebc61f07f9679db7e7f19ba3d3d
parent7777de9af54a1402c79bf7663b38ff5ba308dd45
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