linux/drivers/net/ethernet/intel/igb
Ken ICHIKAWA 0f49da0e78 igb: specify phc_index of 82575 for get_ts_info
82575 has only software timestamping capability and it has
no PTP Hardware Clocks. Therefore, -1 has to be specified
to the phc_index for ethtool's get_ts_info, otherwise a wrong
value will be set to the phc_index.

v2: move the if (adapter->ptp_clock) section specifying phc_index
    to above the switch statement as suggested by Matthew Vick.
    adapter->ptpclock will always be NULL for 82575.

Signed-off-by: Ken ICHIKAWA <ichikawa.ken@jp.fujitsu.com>
Acked-by: Matthew Vick <matthew.vick@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2014-03-21 03:37:24 -07:00
..
e1000_82575.c igb: fix warning if !CONFIG_IGB_HWMON 2014-03-08 00:36:55 -08:00
e1000_82575.h igb: enable VLAN stripping for VMs with i350 2014-03-19 21:38:54 -07:00
e1000_defines.h igb: Add register defines needed for time sync functions 2014-03-19 17:17:23 -07:00
e1000_hw.h igb: Update license text to remove FSF address and update copyright. 2014-02-26 15:54:52 -05:00
e1000_i210.c igb: Update license text to remove FSF address and update copyright. 2014-02-26 15:54:52 -05:00
e1000_i210.h igb: Update license text to remove FSF address and update copyright. 2014-02-26 15:54:52 -05:00
e1000_mac.c igb: Update license text to remove FSF address and update copyright. 2014-02-26 15:54:52 -05:00
e1000_mac.h igb: Update license text to remove FSF address and update copyright. 2014-02-26 15:54:52 -05:00
e1000_mbx.c igb: Update license text to remove FSF address and update copyright. 2014-02-26 15:54:52 -05:00
e1000_mbx.h igb: Update license text to remove FSF address and update copyright. 2014-02-26 15:54:52 -05:00
e1000_nvm.c igb: Update license text to remove FSF address and update copyright. 2014-02-26 15:54:52 -05:00
e1000_nvm.h igb: Update license text to remove FSF address and update copyright. 2014-02-26 15:54:52 -05:00
e1000_phy.c igb: Update license text to remove FSF address and update copyright. 2014-02-26 15:54:52 -05:00
e1000_phy.h igb: Update license text to remove FSF address and update copyright. 2014-02-26 15:54:52 -05:00
e1000_regs.h igb: add register rd/wr for surprise removal 2014-03-21 03:00:49 -07:00
igb_ethtool.c igb: specify phc_index of 82575 for get_ts_info 2014-03-21 03:37:24 -07:00
igb_hwmon.c igb: Update license text to remove FSF address and update copyright. 2014-02-26 15:54:52 -05:00
igb_main.c igb: add register rd/wr for surprise removal 2014-03-21 03:00:49 -07:00
igb_ptp.c igb: implement SIOCGHWTSTAMP ioctl 2014-03-21 02:51:24 -07:00
igb.h igb: implement SIOCGHWTSTAMP ioctl 2014-03-21 02:51:24 -07:00
Makefile igb: Update license text to remove FSF address and update copyright. 2014-02-26 15:54:52 -05:00