diff options
author | Isaac David <isacdaavid@isacdaavid.info> | 2017-07-10 17:16:02 -0500 |
---|---|---|
committer | Isaac David <isacdaavid@isacdaavid.info> | 2017-07-11 20:03:16 -0500 |
commit | 50633f2d519fef68201f9d2d8f2fcfff70ff7db1 (patch) | |
tree | 5bb192964c75b5706bc2b1278575360de44e6fac /pcr/xen/patch-gcc6-etherboot-via-rhine.c.patch | |
parent | 0fd886ddec8d6e3109a971ea3049b984a5524ec9 (diff) | |
download | abslibre-50633f2d519fef68201f9d2d8f2fcfff70ff7db1.tar.gz abslibre-50633f2d519fef68201f9d2d8f2fcfff70ff7db1.tar.bz2 abslibre-50633f2d519fef68201f9d2d8f2fcfff70ff7db1.zip |
move xen to [pcr]
dropped in Arch:
https://lists.archlinux.org/pipermail/arch-dev-public/2017-July/028937.html
Diffstat (limited to 'pcr/xen/patch-gcc6-etherboot-via-rhine.c.patch')
-rw-r--r-- | pcr/xen/patch-gcc6-etherboot-via-rhine.c.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pcr/xen/patch-gcc6-etherboot-via-rhine.c.patch b/pcr/xen/patch-gcc6-etherboot-via-rhine.c.patch new file mode 100644 index 000000000..697208ae3 --- /dev/null +++ b/pcr/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; |