PERFORCE change 120572 for review

Hans Petter Selasky hselasky at FreeBSD.org
Tue May 29 18:10:34 UTC 2007


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

Change 120572 by hselasky at hselasky_mini_itx on 2007/05/29 18:09:34

	Fix a LOR.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/ehci.c#31 edit
.. //depot/projects/usb/src/sys/dev/usb/ohci.c#25 edit

Differences ...

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

@@ -3452,8 +3452,8 @@
 			/* Enable RHSC interrupt if condition is cleared. */
 			if((OREAD4(sc, port) >> 16) == 0)
 			{
+				ehci_pcd_enable(sc);
 				mtx_lock(&sc->sc_bus.mtx);
-				ehci_pcd_enable(sc);
 			}
 			break;
 		default:

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

@@ -2518,8 +2518,8 @@
 			/* enable RHSC interrupt if condition is cleared. */
 			if((OREAD4(sc, port) >> 16) == 0)
 			{
+				ohci_rhsc_enable(sc);
 				mtx_lock(&sc->sc_bus.mtx);
-				ohci_rhsc_enable(sc);
 			}
 			break;
 		default:


More information about the p4-projects mailing list