shithub: riscv

Download patch

ref: 417bdbb869597e171fd27384875c8fa6306e2311
parent: 3e22f7ef1d56efcc81e7ce0e74bc1992ef0976a8
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Dec 18 19:03:54 EST 2017

ether8169: add Macv45 for RTL8111HN, rename Macv45 -> Macv42 (thanks qeed, sam-d)

--- a/sys/src/9/pc/ether8169.c
+++ b/sys/src/9/pc/ether8169.c
@@ -122,8 +122,9 @@
 	Macv30		= 0x24000000,	/* RTL8101E? (untested) */
 	Macv39		= 0x44800000,	/* RTL8106E */
 	Macv40		= 0x4c000000,	/* RTL8168G */
+	Macv42		= 0x50800000,	/* RTL8168GU */
 	Macv44		= 0x5c800000,	/* RTL8411B */
-	Macv45		= 0x50800000,	/* RTL8168GU */
+	Macv45		= 0x54000000,	/* RTL8111HN */
 
 	Ifg0		= 0x01000000,	/* Interframe Gap 0 */
 	Ifg1		= 0x02000000,	/* Interframe Gap 1 */
@@ -1054,6 +1055,7 @@
 	case Macv30:
 	case Macv39:
 	case Macv40:
+	case Macv42:
 	case Macv44:
 	case Macv45:
 		break;