git: 9front

Download patch

ref: db4e2fd30ea7efbdcf5e9dd65b65c96621d3a626
parent: 1f15f469f9a659fe26f2ad3f8c1f9db3d49d79c5
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Feb 23 12:24:32 EST 2025

ether8169: remove redundant tx enable

--- a/sys/src/9/pc/ether8169.c
+++ b/sys/src/9/pc/ether8169.c
@@ -787,9 +787,6 @@
 	r = csr16r(ctlr, Mulint) & 0xF000;
 	csr16w(ctlr, Mulint, r);
 
-	if(ctlr->macv == Macv51)
-		csr8w(ctlr, Cr, Te|Re);
-
 	ctlr->imr = Serr|Fovw|Punlc|Rdu|Ter|Rer|Rok|Tdu;
 	csr16w(ctlr, Imr, ctlr->imr);
 
--