shithub: riscv

Download patch

ref: 0b001e265cac185947c0b0c919dbab6afec2f72c
parent: 0f785af644b250fbf2aae77e3c7c509f80dad7b3
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Apr 1 11:22:37 EDT 2015

ether8169: fix Macv45

--- a/sys/src/9/pc/ether8169.c
+++ b/sys/src/9/pc/ether8169.c
@@ -706,7 +706,6 @@
 	switch(ctlr->macv){
 	case Macv40:
 	case Macv44:
-	case Macv45:
 		cplusc |= Macstatdis;
 		break;
 	default:
@@ -1057,6 +1056,7 @@
 	case Macv30:
 	case Macv40:
 	case Macv44:
+	case Macv45:
 		break;
 	}
 	return 0;