diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-10-25 00:56:54 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-10-25 00:58:32 -0300 |
commit | 3e0bcc5312915db3e993fe0684fd74d0c8624e0a (patch) | |
tree | 9f728629b34b9572e9c34157209db4082c3e1abb /libre/xen/patch-gcc6-etherboot-e1000_phy.c.patch | |
parent | a179b2d9427ed31a04a9eff96d28e36b5bbd9bda (diff) | |
download | abslibre-3e0bcc5312915db3e993fe0684fd74d0c8624e0a.tar.gz abslibre-3e0bcc5312915db3e993fe0684fd74d0c8624e0a.tar.bz2 abslibre-3e0bcc5312915db3e993fe0684fd74d0c8624e0a.zip |
mv xen to [libre] and mv xen-docs to [pcr]
Diffstat (limited to 'libre/xen/patch-gcc6-etherboot-e1000_phy.c.patch')
-rw-r--r-- | libre/xen/patch-gcc6-etherboot-e1000_phy.c.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libre/xen/patch-gcc6-etherboot-e1000_phy.c.patch b/libre/xen/patch-gcc6-etherboot-e1000_phy.c.patch new file mode 100644 index 000000000..4cd6c246c --- /dev/null +++ b/libre/xen/patch-gcc6-etherboot-e1000_phy.c.patch @@ -0,0 +1,20 @@ +diff -aur a/src/drivers/net/e1000/e1000_phy.c b/src/drivers/net/e1000/e1000_phy.c +--- a/src/drivers/net/e1000/e1000_phy.c 2016-05-12 19:40:13.950772568 +1000 ++++ b/src/drivers/net/e1000/e1000_phy.c 2016-05-12 19:41:08.429089344 +1000 +@@ -164,7 +164,7 @@ + + DEBUGFUNC("e1000_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); +@@ -179,6 +179,7 @@ + + phy->id |= (u32)(phy_id & PHY_REVISION_MASK); + phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK); ++ } + + out: + return ret_val; |