igb_4.10_compat.patch 878 B

12345678910111213141516171819202122232425
  1. src/{igb_ptp.c.orig => igb_ptp.c} | 4 ++--
  2. 1 file changed, 2 insertions(+), 2 deletions(-)
  3. diff --git a/src/igb_ptp.c.orig b/src/igb_ptp.c
  4. index 744fa65..f334ac7 100644
  5. --- a/src/igb_ptp.c.orig
  6. +++ b/src/igb_ptp.c
  7. @@ -93,7 +93,7 @@
  8. * SYSTIM read access for the 82576
  9. */
  10. -static cycle_t igb_ptp_read_82576(const struct cyclecounter *cc)
  11. +static u64 igb_ptp_read_82576(const struct cyclecounter *cc)
  12. {
  13. struct igb_adapter *igb = container_of(cc, struct igb_adapter, cc);
  14. struct e1000_hw *hw = &igb->hw;
  15. @@ -113,7 +113,7 @@ static cycle_t igb_ptp_read_82576(const struct cyclecounter *cc)
  16. * SYSTIM read access for the 82580
  17. */
  18. -static cycle_t igb_ptp_read_82580(const struct cyclecounter *cc)
  19. +static u64 igb_ptp_read_82580(const struct cyclecounter *cc)
  20. {
  21. struct igb_adapter *igb = container_of(cc, struct igb_adapter, cc);
  22. struct e1000_hw *hw = &igb->hw;