[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121120163227.11935.57062.stgit@bob.linux.org.uk>
Date: Tue, 20 Nov 2012 16:32:34 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: netdev@...r.kernel.org
Subject: [PATCH] ixgbe: fix broken PPTP handling
From: Alan Cox <alan@...ux.intel.com>
Reported to the maintain 3 weeks ago so now sending a patch rather
than waiting. ixgbe passes a random event type to the pptp code
Signed-off-by: Alan Cox <alan@...ux.intel.com>
---
drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c
index 01d99af..73291fe 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c
@@ -398,6 +398,7 @@ void ixgbe_ptp_check_pps_event(struct ixgbe_adapter *adapter, u32 eicr)
switch (hw->mac.type) {
case ixgbe_mac_X540:
+ event.type = PTP_CLOCK_PPS;
ptp_clock_event(adapter->ptp_clock, &event);
break;
default:
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists