git: 9front

Download patch

ref: 15544a747b6ca50989aa0d14315c3c13d3dfc1bc
parent: cdf5a548eb3bf9a371053ba6efa932e18afec63a
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Feb 22 22:15:14 EST 2026

ether82563: preserve multicast table during reset

--- a/sys/src/9/pc/ether82563.c
+++ b/sys/src/9/pc/ether82563.c
@@ -1903,7 +1903,7 @@
 		csr32w(ctlr, Rah+i*8, 0);
 	}
 	for(i = 0; i < 128; i++)
-		csr32w(ctlr, Mta + i*4, 0);
+		csr32w(ctlr, Mta+i*4, ctlr->mta[i]);
 	if((flag & Fnofca) == 0){
 		csr32w(ctlr, Fcal, 0x00C28001);
 		csr32w(ctlr, Fcah, 0x0100);
--