shithub: front

Download patch

ref: 561926fcbce04b55e5f5240860eef42ea456bb6e
parent: addf2d55bf9bbf090ea26173ac03cfa725bb73cd
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Oct 9 15:18:29 EDT 2024

ether8169: add pci id for RTL8111/8168/8411 (thanks Sylvie)

--- a/sys/src/9/pc/ether8169.c
+++ b/sys/src/9/pc/ether8169.c
@@ -262,6 +262,7 @@
 enum {						/* Variants */
 	Rtl8100e	= (0x8136<<16)|0x10EC,	/* RTL810[01]E: pci -e */
 	Rtl8169c	= (0x0116<<16)|0x16EC,	/* RTL8169C+ (USR997902) */
+	Rtl8111b	= (0x8161<<16)|0x10EC,	/* RTL8111/8168/8411: pci-e */
 	Rtl8169sc	= (0x8167<<16)|0x10EC,	/* RTL8169SC */
 	Rtl8168b	= (0x8168<<16)|0x10EC,	/* RTL8168B: pci-e */
 	Rtl8169		= (0x8169<<16)|0x10EC,	/* RTL8169 */
@@ -1151,6 +1152,7 @@
 			continue;
 		case Rtl8100e:			/* RTL810[01]E ? */
 		case Rtl8168b:			/* RTL8168B */
+		case Rtl8111b:			/* RTL8111/8168/8411 */
 			pcie = 1;
 			break;
 		case Rtl8169c:			/* RTL8169C */
--