shithub: riscv

Download patch

ref: ced6a9c980a95ab050363b938c6c64dbe8a33ec6
parent: 041ae3997c7360631c48f05de851972b5f2277ed
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);
 
--