git: 9front

Download patch

ref: 9809a35d4a04609c13e044a47fcee56938815f25
parent: abaea38950410912d8a1a969b502ebef34970409
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Thu Jul 25 13:44:47 EDT 2019

ethergenet: fix flow control negotiation

--- a/sys/src/9/bcm64/ethergenet.c
+++ b/sys/src/9/bcm64/ethergenet.c
@@ -982,7 +982,7 @@
 	/* don't advertise EEE */
 	miimmdw(ctlr->mii, 7, 60, 0);
 
-	miiane(ctlr->mii, ~0, ~0, ~0);
+	miiane(ctlr->mii, ~0, AnaAP|AnaP, ~0);
 
 #ifdef XXXDEBUG
 	xxx = ctlr;
--