From 3e0bcc5312915db3e993fe0684fd74d0c8624e0a Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Tue, 25 Oct 2016 00:56:54 -0300 Subject: mv xen to [libre] and mv xen-docs to [pcr] --- libre/xen/patch-gcc6-etherboot-igb_phy.c.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 libre/xen/patch-gcc6-etherboot-igb_phy.c.patch (limited to 'libre/xen/patch-gcc6-etherboot-igb_phy.c.patch') diff --git a/libre/xen/patch-gcc6-etherboot-igb_phy.c.patch b/libre/xen/patch-gcc6-etherboot-igb_phy.c.patch new file mode 100644 index 000000000..44beb4baa --- /dev/null +++ b/libre/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; -- cgit v1.2.3