shithub: riscv

Download patch

ref: 0734a0b8367b29898ca2a8bf0bfd155450d9e5f6
parent: c2f5d36d7f5b5df5896ee601c39c847f24636899
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;
--