diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-08-11 15:33:46 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-08-15 16:30:06 +0000 |
commit | c79838c3a14eed1cee24731f89d7b1171751d304 (patch) | |
tree | 486c75133ee1072075d9782672c09b39b9308013 /main/xen/patch-gcc6-etherboot-igb_phy.c.patch | |
parent | ee4ffbb28c8a78a28e0315d7050f8837fa316dc5 (diff) | |
download | aports-c79838c3a14eed1cee24731f89d7b1171751d304.tar.bz2 aports-c79838c3a14eed1cee24731f89d7b1171751d304.tar.xz |
main/xen: upgrade to 4.7.0 and add secfixes
Diffstat (limited to 'main/xen/patch-gcc6-etherboot-igb_phy.c.patch')
-rw-r--r-- | main/xen/patch-gcc6-etherboot-igb_phy.c.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/main/xen/patch-gcc6-etherboot-igb_phy.c.patch b/main/xen/patch-gcc6-etherboot-igb_phy.c.patch new file mode 100644 index 0000000000..44beb4baa9 --- /dev/null +++ b/main/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; |