sfc: split setup of hardware timestamping into NIC-type operation
authorDaniel Pieczko <dpieczko@solarflare.com>
Thu, 21 Nov 2013 17:11:25 +0000 (17:11 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 12 Dec 2013 22:07:11 +0000 (22:07 +0000)
commit9ec0659595c8020f1efa55aa00870e8773f8ee89
treed4b4fc24a45ac681182b426b68445fbb94702ed2
parenta6f73460b592404cca4ceafa69a835a61cdc20d8
sfc: split setup of hardware timestamping into NIC-type operation

I added efx_ptp_get_mode() to avoid moving the definition for
efx_ptp_data, since the current PTP mode is needed for
siena.c:siena_set_ptp_hwtstamp.

[bwh: Also move the rx_filters mask, and add kernel-doc]
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/net_driver.h
drivers/net/ethernet/sfc/nic.h
drivers/net/ethernet/sfc/ptp.c
drivers/net/ethernet/sfc/siena.c