shithub: riscv

Download patch

ref: 56d9f57dc8afd8ef4c6d54a10c958446dd2d7fbe
parent: f9e0bc9eb43ca04d676bf7186187115e2c52c6f9
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Fri Feb 22 05:37:47 EST 2013

ether8169: add RTL8111e mac id (thanks glorfdev for the patch)

--- a/sys/src/9/pc/ether8169.c
+++ b/sys/src/9/pc/ether8169.c
@@ -114,6 +114,7 @@
 //	Macv19		= 0x3c000000,	/* dup Macv12a: RTL8111c-gr */
 	Macv25		= 0x28000000,	/* RTL8168D */
 	Macv26		= 0x48000000,	/* RTL8111/8168B */
+	Macv27		= 0x2c800000,	/* RTL8111e */
 	Ifg0		= 0x01000000,	/* Interframe Gap 0 */
 	Ifg1		= 0x02000000,	/* Interframe Gap 1 */
 };
@@ -1010,6 +1011,7 @@
 	case Macv15:
 	case Macv25:
 	case Macv26:
+	case Macv27:
 		break;
 	}
 	return 0;
--