Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 May 2007 18:10:33 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 120572 for review
Message-ID:  <200705291810.l4TIAX3B076079@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=120572

Change 120572 by hselasky@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705291810.l4TIAX3B076079>