Author: hselasky
Date: Mon Aug 12 06:09:28 2013
New Revision: 254238
URL: http://svnweb.freebsd.org/changeset/base/254238

Log:
  Correct an EHCI register write.
  
  MFC after:    1 week
  Reported by:  aseem.jo...@gmail.com

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

Modified: head/sys/dev/usb/controller/ehci.c
==============================================================================
--- head/sys/dev/usb/controller/ehci.c  Mon Aug 12 03:52:23 2013        
(r254237)
+++ head/sys/dev/usb/controller/ehci.c  Mon Aug 12 06:09:28 2013        
(r254238)
@@ -259,7 +259,7 @@ ehci_init_sub(struct ehci_softc *sc)
                DPRINTF("HCC uses 64-bit structures\n");
 
                /* MUST clear segment register if 64 bit capable */
-               EWRITE4(sc, EHCI_CTRLDSSEGMENT, 0);
+               EOWRITE4(sc, EHCI_CTRLDSSEGMENT, 0);
        }
 
        usbd_get_page(&sc->sc_hw.pframes_pc, 0, &buf_res);
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to