ixgbe_4.10_compat.patch 1.1 KB

12345678910111213141516171819202122232425
  1. src/{ixgbe_ptp.c.orig => ixgbe_ptp.c} | 4 ++--
  2. 1 file changed, 2 insertions(+), 2 deletions(-)
  3. diff --git a/src/ixgbe_ptp.c.orig b/src/ixgbe_ptp.c
  4. index fb832f0..b868c68 100644
  5. --- a/src/ixgbe_ptp.c.orig
  6. +++ b/src/ixgbe_ptp.c
  7. @@ -244,7 +244,7 @@ static void ixgbe_ptp_setup_sdp_X540(struct ixgbe_adapter *adapter)
  8. * result of SYSTIME is 32bits of "billions of cycles" and 32 bits of
  9. * "cycles", rather than seconds and nanoseconds.
  10. */
  11. -static cycle_t ixgbe_ptp_read_X550(const struct cyclecounter *hw_cc) {
  12. +static u64 ixgbe_ptp_read_X550(const struct cyclecounter *hw_cc) {
  13. struct ixgbe_adapter *adapter =
  14. container_of(hw_cc, struct ixgbe_adapter, hw_cc);
  15. struct ixgbe_hw *hw = &adapter->hw;
  16. @@ -280,7 +280,7 @@ static cycle_t ixgbe_ptp_read_X550(const struct cyclecounter *hw_cc) {
  17. * cyclecounter structure used to construct a ns counter from the
  18. * arbitrary fixed point registers
  19. */
  20. -static cycle_t ixgbe_ptp_read_82599(const struct cyclecounter *hw_cc)
  21. +static u64 ixgbe_ptp_read_82599(const struct cyclecounter *hw_cc)
  22. {
  23. struct ixgbe_adapter *adapter =
  24. container_of(hw_cc, struct ixgbe_adapter, hw_cc);