bfin_mac: offer a PTP Hardware Clock.
authorRichard Cochran <richardcochran@gmail.com>
Wed, 31 Oct 2012 06:27:24 +0000 (06:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Nov 2012 15:41:35 +0000 (11:41 -0400)
commitdd87b22f9096863adfd5daf281beb0a83379bd8f
tree6fe070016ab65b58245cb2910f2166f880dd8c12
parentbc3c5f634de23ca767c2d04d356ddf5bbe2144e2
bfin_mac: offer a PTP Hardware Clock.

The BF518 has a PTP time unit that works in a similar way to other MAC
based clocks, like gianfar, ixp46x, and igb. This patch adds support for
using the blackfin as a PHC. Although the blackfin hardware does offer a
few ancillary features, this patch implements only the basic operations.

Compile tested only.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Tested-by: Bob Liu <lliubbo@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/adi/Kconfig
drivers/net/ethernet/adi/bfin_mac.c
drivers/net/ethernet/adi/bfin_mac.h