Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Dec 2008 04:44:23 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r186416 - head/sys/arm/xscale/ixp425
Message-ID:  <200812230444.mBN4iNBi081018@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sam
Date: Tue Dec 23 04:44:23 2008
New Revision: 186416
URL: http://svn.freebsd.org/changeset/base/186416

Log:
  o enable TT and big-endian MMIO
  o force a reset before ehci_init to get byte-select setup
  
  LS, FS, and HS devices now work on the Cambria board

Modified:
  head/sys/arm/xscale/ixp425/ixp435_ehci.c

Modified: head/sys/arm/xscale/ixp425/ixp435_ehci.c
==============================================================================
--- head/sys/arm/xscale/ixp425/ixp435_ehci.c	Tue Dec 23 04:42:10 2008	(r186415)
+++ head/sys/arm/xscale/ixp425/ixp435_ehci.c	Tue Dec 23 04:44:23 2008	(r186416)
@@ -225,11 +225,14 @@ ehci_ixp_attach(device_t self)
 	 * which means port speed must be read from the Port Status
 	 * register following a port enable.
 	 */
-	sc->sc_flags |= EHCI_SCFLG_SETMODE
-		     | EHCI_SCFLG_NORESTERM
-		     | EHCI_SCFLG_FORCESPEED
+	sc->sc_flags |= EHCI_SCFLG_TT
+		     | EHCI_SCFLG_SETMODE
 		     | EHCI_SCFLG_BIGEDESC
+		     | EHCI_SCFLG_BIGEMMIO
+		     | EHCI_SCFLG_NORESTERM
 		     ;
+	(void) ehci_reset(sc);
+
 	err = ehci_init(sc);
 	if (!err) {
 		sc->sc_flags |= EHCI_SCFLG_DONEINIT;



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