]> git.proxmox.com Git - pve-kernel-jessie.git/blame - ixgbe_4.10_compat.patch
add compat patches for intel network modules
[pve-kernel-jessie.git] / ixgbe_4.10_compat.patch
CommitLineData
174ba651
FG
1 src/{ixgbe_ptp.c.orig => ixgbe_ptp.c} | 4 ++--
2 1 file changed, 2 insertions(+), 2 deletions(-)
3
4diff --git a/src/ixgbe_ptp.c.orig b/src/ixgbe_ptp.c
5index fb832f0..b868c68 100644
6--- a/src/ixgbe_ptp.c.orig
7+++ b/src/ixgbe_ptp.c
8@@ -244,7 +244,7 @@ static void ixgbe_ptp_setup_sdp_X540(struct ixgbe_adapter *adapter)
9 * result of SYSTIME is 32bits of "billions of cycles" and 32 bits of
10 * "cycles", rather than seconds and nanoseconds.
11 */
12-static cycle_t ixgbe_ptp_read_X550(const struct cyclecounter *hw_cc) {
13+static u64 ixgbe_ptp_read_X550(const struct cyclecounter *hw_cc) {
14 struct ixgbe_adapter *adapter =
15 container_of(hw_cc, struct ixgbe_adapter, hw_cc);
16 struct ixgbe_hw *hw = &adapter->hw;
17@@ -280,7 +280,7 @@ static cycle_t ixgbe_ptp_read_X550(const struct cyclecounter *hw_cc) {
18 * cyclecounter structure used to construct a ns counter from the
19 * arbitrary fixed point registers
20 */
21-static cycle_t ixgbe_ptp_read_82599(const struct cyclecounter *hw_cc)
22+static u64 ixgbe_ptp_read_82599(const struct cyclecounter *hw_cc)
23 {
24 struct ixgbe_adapter *adapter =
25 container_of(hw_cc, struct ixgbe_adapter, hw_cc);