kernel/usb4bsd: Configure the correct bMaxPacketSize for control endpoints.
authorImre Vadász <imre@vdsz.com>
Sun, 15 Jan 2017 09:55:42 +0000 (10:55 +0100)
committerImre Vadász <imre@vdsz.com>
Sun, 15 Jan 2017 23:55:16 +0000 (00:55 +0100)
commit256047158bad6fc5218f09e9177e7a0efe9aa621
tree3212d1dc9ec7309b24952feabde4e5f02b11a92b
parent8afa51ffad921b516bb377ce563d8b144e1fa0db
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)
sys/bus/u4b/controller/xhci.c
sys/bus/u4b/controller/xhci.h