Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jan 2012 19:10:37 +0000 (UTC)
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r229408 - head/sys/mips/cavium/usb
Message-ID:  <201201031910.q03JAbY6037980@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gonzo
Date: Tue Jan  3 19:10:37 2012
New Revision: 229408
URL: http://svn.freebsd.org/changeset/base/229408

Log:
  - Octeon-SDK strictly requires multi_count to be zero for
      full and low speed devices.

Modified:
  head/sys/mips/cavium/usb/octusb.c

Modified: head/sys/mips/cavium/usb/octusb.c
==============================================================================
--- head/sys/mips/cavium/usb/octusb.c	Tue Jan  3 19:09:01 2012	(r229407)
+++ head/sys/mips/cavium/usb/octusb.c	Tue Jan  3 19:10:37 2012	(r229408)
@@ -169,7 +169,7 @@ octusb_host_alloc_endpoint(struct octusb
 	    (td->qh->ep_num & UE_DIR_IN) ? CVMX_USB_DIRECTION_IN :
 	    CVMX_USB_DIRECTION_OUT,
 	    td->qh->ep_interval,
-	    td->qh->ep_mult,
+	    (td->qh->dev_speed == USB_SPEED_HIGH) ? td->qh->ep_mult : 0,
 	    td->qh->hs_hub_addr,
 	    td->qh->hs_hub_port);
 



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