git: 9front

Download patch

ref: 512973f9c43f1fbd690583e6a5e0e39efe82a04a
parent: c27e21add7f4f1432216d0519ba2e1eafc91f12b
author: ppatience0 <ppatience0@gmail.com>
date: Wed Feb 13 02:12:51 EST 2013

ether8169: support for RTL8111/8168B

--- a/sys/src/9/pc/ether8169.c
+++ b/sys/src/9/pc/ether8169.c
@@ -113,6 +113,7 @@
 	Macv15		= 0x38800000,	/* RTL8100E */
 //	Macv19		= 0x3c000000,	/* dup Macv12a: RTL8111c-gr */
 	Macv25		= 0x28000000,	/* RTL8168D */
+	Macv26		= 0x48000000,	/* RTL8111/8168B */
 	Ifg0		= 0x01000000,	/* Interframe Gap 0 */
 	Ifg1		= 0x02000000,	/* Interframe Gap 1 */
 };
@@ -1008,6 +1009,7 @@
 	case Macv14:
 	case Macv15:
 	case Macv25:
+	case Macv26:
 		break;
 	}
 	return 0;
--