shithub: plan9front

Download patch

ref: ec33d29cf6b8519ae857e5990c67df3e56147c31
parent: e6f0abc25e4e237fff97ef9bdd1dc98ee519def8
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Sun Aug 29 19:12:33 EDT 2021

ether8169: support rtl8402 variant

--- a/sys/src/9/pc/ether8169.c	Sat Aug 28 21:00:36 2021
+++ b/sys/src/9/pc/ether8169.c	Sun Aug 29 19:12:33 2021
@@ -120,6 +120,7 @@
 	Macv28		= 0x2c000000,	/* RTL8111/8168B */
 	Macv29		= 0x40800000,	/* RTL8101/8102E */
 	Macv30		= 0x24000000,	/* RTL8101E? (untested) */
+	Macv38		= 0x44000000,	/* RTL8402 */
 	Macv39		= 0x44800000,	/* RTL8106E */
 	Macv40		= 0x4c000000,	/* RTL8168G */
 	Macv42		= 0x50800000,	/* RTL8168GU */
@@ -1089,6 +1090,7 @@
 	case Macv28:
 	case Macv29:
 	case Macv30:
+	case Macv38:
 	case Macv39:
 	case Macv40:
 	case Macv42: