shithub: riscv

Download patch

ref: 04171d24777d5a108df6e90e10fa7c8d0a841479
parent: a32d11dff358f60d6184fe8c9a0521cf878c6a4f
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Tue Feb 21 16:53:10 EST 2017

ether8169: add support for RTL8106E (thanks _potato)

--- a/sys/src/9/pc/ether8169.c
+++ b/sys/src/9/pc/ether8169.c
@@ -120,6 +120,7 @@
 	Macv28		= 0x2c000000,	/* RTL8111/8168B */
 	Macv29		= 0x40800000,	/* RTL8101/8102E */
 	Macv30		= 0x24000000,	/* RTL8101E? (untested) */
+	Macv39		= 0x44800000,	/* RTL8106E */
 	Macv40		= 0x4c000000,	/* RTL8168G */
 	Macv44		= 0x5c800000,	/* RTL8411B */
 	Macv45		= 0x50800000,	/* RTL8168GU */
@@ -1051,6 +1052,7 @@
 	case Macv28:
 	case Macv29:
 	case Macv30:
+	case Macv39:
 	case Macv40:
 	case Macv44:
 	case Macv45: