Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 May 2014 11:32:16 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r266012 - head/sys/dev/usb/controller
Message-ID:  <201405141132.s4EBWGeX086898@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Wed May 14 11:32:15 2014
New Revision: 266012
URL: http://svnweb.freebsd.org/changeset/base/266012

Log:
  Disable configuration of the host frame interval register until
  further, hence it breaks USB support on some non-RPI platforms.

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

Modified: head/sys/dev/usb/controller/dwc_otg.c
==============================================================================
--- head/sys/dev/usb/controller/dwc_otg.c	Wed May 14 11:25:59 2014	(r266011)
+++ head/sys/dev/usb/controller/dwc_otg.c	Wed May 14 11:32:15 2014	(r266012)
@@ -350,6 +350,12 @@ dwc_otg_init_fifo(struct dwc_otg_softc *
 static void
 dwc_otg_update_host_frame_interval(struct dwc_otg_softc *sc)
 {
+
+  /*
+   * Disabled until further. Assuming that the register is already
+   * programmed correctly by the boot loader.
+   */
+#if 0
 	uint32_t temp;
 
 	/* setup HOST frame interval register, based on existing value */
@@ -375,6 +381,7 @@ dwc_otg_update_host_frame_interval(struc
 	DPRINTF("HFIR=0x%08x\n", temp);
 
 	DWC_OTG_WRITE_4(sc, DOTG_HFIR, temp);
+#endif
 }
 
 static void



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