PERFORCE change 130067 for review

Hans Petter Selasky hselasky at FreeBSD.org
Sun Dec 2 16:35:20 PST 2007


http://perforce.freebsd.org/chv.cgi?CH=130067

Change 130067 by hselasky at hselasky_laptop001 on 2007/12/03 00:34:40

	
	Bugfix after IFC.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/ehci.c#58 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb/ehci.c#58 (text+ko) ====

@@ -168,6 +168,7 @@
 		DELAY(1000 * 1);
 		hcr = EOREAD4(sc, EHCI_USBSTS);
 		if (hcr & EHCI_STS_HCH) {
+			hcr = 0;
 			break;
 		}
 	}
@@ -183,6 +184,7 @@
 		DELAY(1000 * 1);
 		hcr = EOREAD4(sc, EHCI_USBCMD);
 		if (!(hcr & EHCI_CMD_HCRESET)) {
+			hcr = 0;
 			break;
 		}
 	}


More information about the p4-projects mailing list