git: kernel/usb4bsd: Configure the correct bMaxPacketSize for control endpoints.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Sun Jan 15 15:56:19 PST 2017


commit 256047158bad6fc5218f09e9177e7a0efe9aa621
Author: Imre Vadász <imre at vdsz.com>
Date:   Sun Jan 15 10:55:42 2017 +0100

    kernel/usb4bsd: Configure the correct bMaxPacketSize for control endpoints.
    
    * Configure the correct bMaxPacketSize for control endpoints before
      requesting the initial complete device descriptor and not as part of
      the subsequent babble error recovery. Babble means that the received
      USB packet was bigger than than configured maximum packet size. This
      only affects enumeration of FULL speed USB devices which use a
      bMaxPacketSize different from 8 bytes. This patch might help fix
      enumeration of USB devices which exhibit USB I/O errors in dmesg
      during boot.
    
    Taken-From: FreeBSD (svn r295928)

Summary of changes:
 sys/bus/u4b/controller/xhci.c | 13 +++++++++++++
 sys/bus/u4b/controller/xhci.h |  1 +
 2 files changed, 14 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/256047158bad6fc5218f09e9177e7a0efe9aa621


-- 
DragonFly BSD source repository



More information about the Commits mailing list