]> git.proxmox.com Git - pve-kernel-jessie.git/blobdiff - ixgbe_4.10_compat.patch
add compat patches for intel network modules
[pve-kernel-jessie.git] / ixgbe_4.10_compat.patch
diff --git a/ixgbe_4.10_compat.patch b/ixgbe_4.10_compat.patch
new file mode 100644 (file)
index 0000000..4518819
--- /dev/null
@@ -0,0 +1,25 @@
+ src/{ixgbe_ptp.c.orig => ixgbe_ptp.c} | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/ixgbe_ptp.c.orig b/src/ixgbe_ptp.c
+index fb832f0..b868c68 100644
+--- a/src/ixgbe_ptp.c.orig
++++ b/src/ixgbe_ptp.c
+@@ -244,7 +244,7 @@ static void ixgbe_ptp_setup_sdp_X540(struct ixgbe_adapter *adapter)
+  * result of SYSTIME is 32bits of "billions of cycles" and 32 bits of
+  * "cycles", rather than seconds and nanoseconds.
+  */
+-static cycle_t ixgbe_ptp_read_X550(const struct cyclecounter *hw_cc) {
++static u64 ixgbe_ptp_read_X550(const struct cyclecounter *hw_cc) {
+       struct ixgbe_adapter *adapter =
+               container_of(hw_cc, struct ixgbe_adapter, hw_cc);
+       struct ixgbe_hw *hw = &adapter->hw;
+@@ -280,7 +280,7 @@ static cycle_t ixgbe_ptp_read_X550(const struct cyclecounter *hw_cc) {
+  * cyclecounter structure used to construct a ns counter from the
+  * arbitrary fixed point registers
+  */
+-static cycle_t ixgbe_ptp_read_82599(const struct cyclecounter *hw_cc)
++static u64 ixgbe_ptp_read_82599(const struct cyclecounter *hw_cc)
+ {
+       struct ixgbe_adapter *adapter =
+               container_of(hw_cc, struct ixgbe_adapter, hw_cc);