git: 9front

Download patch

ref: 090cecb89485191a3e80fa7370431cdde7fc0ed6
parent: c06efea238f941c0045897206ade96750a62083f
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;
--