i40e: only enable PTP interrupt cause if PTP is enabled
authorJacob Keller <jacob.e.keller@intel.com>
Sun, 14 Dec 2014 01:55:08 +0000 (01:55 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 16 Jan 2015 11:56:53 +0000 (03:56 -0800)
commitab437b5a0fd4534c68933671a2a44c5ca0e75479
tree9966d408ce47887b6e2c94fcfafa4d3af8d9cd43
parent65b206d24e52d539e2e0f96e2f5cf3404bf9ce26
i40e: only enable PTP interrupt cause if PTP is enabled

We should not blindly enable the PTP interrupt flags for all PFs. We
should only enable the PTP interrupt in PFs which have enabled
PTP.

Change-ID: I051a17cae4c199a2f3cf7852266e27eda6630525
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c