summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igb/igb_ethtool.c
diff options
context:
space:
mode:
authorCarolyn Wyborny <carolyn.wyborny@intel.com>2012-05-16 01:46:00 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2012-06-20 01:14:34 -0700
commitd3eef8c8a033a5ee56ab5d923068eb8cd5d53887 (patch)
treecf592a3c156bc12eb10f77a22b05ca54ce348fb6 /drivers/net/ethernet/intel/igb/igb_ethtool.c
parentf00b0da776fda1abc481578e3932a668f603d72d (diff)
igb: Add switch case for supported hardware to igb_ptp_remove.
PTP initialization is only done on supported parts, so remove needs same checks or it will cause crashes on systems with igb devices that don't support PTP. This patch adds those checks to the exit function. Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com> Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igb/igb_ethtool.c')
0 files changed, 0 insertions, 0 deletions