Module Name:    src
Committed By:   matt
Date:           Sun Jun 12 05:29:13 UTC 2011

Modified Files:
        src/sys/arch/powerpc/booke/dev: pq3ehci.c

Log Message:
Make sure to enable the USB interface.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/powerpc/booke/dev/pq3ehci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/powerpc/booke/dev/pq3ehci.c
diff -u src/sys/arch/powerpc/booke/dev/pq3ehci.c:1.3 src/sys/arch/powerpc/booke/dev/pq3ehci.c:1.4
--- src/sys/arch/powerpc/booke/dev/pq3ehci.c:1.3	Wed Feb 16 18:46:37 2011
+++ src/sys/arch/powerpc/booke/dev/pq3ehci.c	Sun Jun 12 05:29:13 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: pq3ehci.c,v 1.3 2011/02/16 18:46:37 matt Exp $	*/
+/*	$NetBSD: pq3ehci.c,v 1.4 2011/06/12 05:29:13 matt Exp $	*/
 /*-
  * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -29,7 +29,9 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pq3ehci.c,v 1.3 2011/02/16 18:46:37 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pq3ehci.c,v 1.4 2011/06/12 05:29:13 matt Exp $");
+
+#include "opt_usb.h"
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -119,6 +121,7 @@
 	 */
 	cpu_write_4(cnl->cnl_addr + USB_SNOOP1,
 	    SNOOP_2GB - __builtin_clz(curcpu()->ci_softc->cpu_highmem * 2 - 1));
+	cpu_write_4(cnl->cnl_addr + USB_CONTROL, USB_EN);
 
 	sc->sc_ih = intr_establish(cnl->cnl_intrs[0], IPL_USB, IST_ONCHIP,
 	    ehci_intr, sc);

Reply via email to