svn commit: r186416 - head/sys/arm/xscale/ixp425

Sam Leffler sam at FreeBSD.org
Tue Dec 23 04:44:24 UTC 2008


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;


More information about the svn-src-head mailing list