summaryrefslogtreecommitdiff
path: root/kernels/xen/patch-gcc6-etherboot-igb_phy.c.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-07 01:49:00 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-07 03:27:48 -0300
commite6f7ccd589ecbf766dfb7d32d205d140bb737b22 (patch)
tree543ee52e8b77074c553dcccaac56f21dce3bcfb7 /kernels/xen/patch-gcc6-etherboot-igb_phy.c.patch
parent132d2109048c6df329d49b6f679b635c9cb73758 (diff)
xen-4.7.0-1.parabola1: updating version
Diffstat (limited to 'kernels/xen/patch-gcc6-etherboot-igb_phy.c.patch')
-rw-r--r--kernels/xen/patch-gcc6-etherboot-igb_phy.c.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/kernels/xen/patch-gcc6-etherboot-igb_phy.c.patch b/kernels/xen/patch-gcc6-etherboot-igb_phy.c.patch
new file mode 100644
index 000000000..44beb4baa
--- /dev/null
+++ b/kernels/xen/patch-gcc6-etherboot-igb_phy.c.patch
@@ -0,0 +1,20 @@
+diff -aur a/src/drivers/net/igb/igb_phy.c b/src/drivers/net/igb/igb_phy.c
+--- a/src/drivers/net/igb/igb_phy.c 2016-05-12 19:53:45.063246296 +1000
++++ b/src/drivers/net/igb/igb_phy.c 2016-05-12 19:54:09.992692278 +1000
+@@ -88,7 +88,7 @@
+
+ DEBUGFUNC("igb_get_phy_id");
+
+- if (!(phy->ops.read_reg))
++ if (!(phy->ops.read_reg)) {
+ goto out;
+
+ ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id);
+@@ -103,6 +103,7 @@
+
+ phy->id |= (u32)(phy_id & PHY_REVISION_MASK);
+ phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK);
++ }
+
+ out:
+ return ret_val;