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-via-rhine.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-via-rhine.c.patch')
-rw-r--r-- | libre/xen/patch-gcc6-etherboot-via-rhine.c.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libre/xen/patch-gcc6-etherboot-via-rhine.c.patch b/libre/xen/patch-gcc6-etherboot-via-rhine.c.patch new file mode 100644 index 000000000..697208ae3 --- /dev/null +++ b/libre/xen/patch-gcc6-etherboot-via-rhine.c.patch @@ -0,0 +1,21 @@ +diff -aru a/src/drivers/net/via-rhine.c b/src/drivers/net/via-rhine.c +--- a/src/drivers/net/via-rhine.c 2016-05-12 19:24:14.047825550 +1000 ++++ b/src/drivers/net/via-rhine.c 2016-05-12 19:33:18.061858418 +1000 +@@ -945,13 +945,15 @@ + /* added comment by guard */ + /* For supporting VT6107, please use revision id to recognize different chips in driver */ + // if (tp->chip_id == 0x3065) +- if( tp->chip_revision < 0x80 && tp->chip_revision >=0x40 ) ++ if( tp->chip_revision < 0x80 && tp->chip_revision >=0x40 ) { + intr_status |= inb(nic->ioaddr + IntrStatus2) << 16; + intr_status = (intr_status & ~DEFAULT_INTR); +- if ( action == ENABLE ) ++ if ( action == ENABLE ) { + intr_status = intr_status | DEFAULT_INTR; + outw(intr_status, nic->ioaddr + IntrEnable); ++ } + break; ++ } + case FORCE : + outw(0x0010, nic->ioaddr + 0x84); + break; |