ixgbe: (PTP) Fix PPS interrupt code
authorJacob Keller <jacob.e.keller@intel.com>
Fri, 24 Aug 2012 07:46:54 +0000 (07:46 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 3 Oct 2012 14:57:04 +0000 (07:57 -0700)
commitdb0677fa29862d29e9956980d9fab43c52179e34
tree8c96754fbc9507c860e246f55d7ac1710eb3beae
parent8208367371b7f581dd13fe8bf28f8d7f17f4bf32
ixgbe: (PTP) Fix PPS interrupt code

Driver was enabling PPS interrupt even when user wasn't enabling it via the
ptp core. This patch fixes the PPS so that it is only enabled explicitly, and
moves the interrupt enabling code into the correct location in the driver

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Cc: Stable <stable@vger.kernel.org> [3.5]
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c