svn commit: r266012 - head/sys/dev/usb/controller
Hans Petter Selasky
hselasky at FreeBSD.org
Wed May 14 11:32:16 UTC 2014
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
More information about the svn-src-all
mailing list