1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/intel
Jacob Keller 1a71ab2491 ixgbe: (PTP) refactor init, cyclecounter and reset
This patch modifies when and where PTP registers and data are set. Previously
a work-around was used inside cyclecounter_start in order to reset some of the
time registers. This patch creates a new ixgbe_ptp_reset specifically for this
purpose. The cyclecounter configuration has trimmed down to only modify what
is necessary. Due to hardware conditions after probe and before open, PTP init
has now moved into the ixgbe_open call. This allows the ptp device name in the
sysfs to be the ethernet device name instead of the MAC address.

The cyclecounter check flag is renamed to PTP_ENABLED and is used to prevent
PTP init from happening when PTP has not been enabled.

CC: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2012-10-22 21:16:13 -07:00
..
e1000 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2012-10-02 13:38:27 -07:00
e1000e e1000e: Change wthresh to 1 to avoid possible Tx stalls 2012-10-10 22:59:18 -04:00
igb igb: Split igb_update_dca into separate Tx and Rx functions 2012-10-19 04:42:13 -07:00
igbvf netdev: make pci_error_handlers const 2012-09-07 16:35:00 -06:00
ixgb netdev: make pci_error_handlers const 2012-09-07 16:35:00 -06:00
ixgbe ixgbe: (PTP) refactor init, cyclecounter and reset 2012-10-22 21:16:13 -07:00
ixgbevf ixgbevf: Add VF DCB + SR-IOV support 2012-10-22 21:15:35 -07:00
e100.c netdev: make pci_error_handlers const 2012-09-07 16:35:00 -06:00
Kconfig Kconfig: Fix Kconfig for Intel ixgbe and igb PTP support. 2012-06-20 00:52:54 -07:00
Makefile intel: Move the Intel wired LAN drivers 2011-08-10 20:03:27 -07:00