Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Nov 2009 18:12:09 +0000 (UTC)
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r199718 - head/sys/dev/usb/controller
Message-ID:  <200911231812.nANIC9JM064605@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thompsa
Date: Mon Nov 23 18:12:09 2009
New Revision: 199718
URL: http://svn.freebsd.org/changeset/base/199718

Log:
  Actually disable interrupts in ehci_detach().
  
  Reviewed by:	HPS

Modified:
  head/sys/dev/usb/controller/ehci.c

Modified: head/sys/dev/usb/controller/ehci.c
==============================================================================
--- head/sys/dev/usb/controller/ehci.c	Mon Nov 23 18:07:28 2009	(r199717)
+++ head/sys/dev/usb/controller/ehci.c	Mon Nov 23 18:12:09 2009	(r199718)
@@ -528,7 +528,7 @@ ehci_detach(ehci_softc_t *sc)
 	usb_callout_stop(&sc->sc_tmo_pcd);
 	usb_callout_stop(&sc->sc_tmo_poll);
 
-	EOWRITE4(sc, EHCI_USBINTR, sc->sc_eintrs);
+	EOWRITE4(sc, EHCI_USBINTR, 0);
 	USB_BUS_UNLOCK(&sc->sc_bus);
 
 	if (ehci_hcreset(sc)) {



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