shithub: riscv

Download patch

ref: c9d2fecbd06d0e9efc2fa16f214f1612a9a40d93
parent: 86dfd3cf16ebded3b15b7792253688c361dd0260
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Tue Feb 16 03:52:33 EST 2016

usbuhci: removing "uhci bug" print spam from interrupt handler

this code was if(0) for a long time due to wrong parentesis,
fixed parentesis cause print spam on some machines making them
unusage (kenji okomoto). removing the check alltogether.

--- a/sys/src/9/pc/usbuhci.c
+++ b/sys/src/9/pc/usbuhci.c
@@ -958,10 +958,6 @@
 	}
 	OUTS(Status, sts & Sall);
 	cmd = INS(Cmd);
-	if((cmd & Crun) == 0){
-		iprint("uhci %#ux: not running: uhci bug?\n", ctlr->port);
-		/* BUG: should abort everything in this case */
-	}
 	if(debug > 1){
 		frptr = INL(Flbaseadd);
 		frno = INL(Frnum);