From be9820383b10984d77abe1abc26e2b7029e78e21 Mon Sep 17 00:00:00 2001 From: Sarah Sharp Date: Thu, 8 May 2014 19:25:59 +0300 Subject: [PATCH] xhci: Report max device limit when Enable Slot command fails. xHCI host controllers may only support a limited number of device slot IDs, which is usually far less than the theoretical maximum number of devices (255) that the USB specifications advertise. This is frustrating to consumers that expect to be able to plug in a large number of devices. Add a print statement when the Enable Slot command fails to show how many devices the host supports. We can't change hardware manufacturer's design decisions, but hopefully we can save customers a little bit of time trying to debug why their host mysteriously fails when too many devices are plugged in. Signed-off-by: Sarah Sharp Reported-by: Amund Hov Signed-off-by: Mathias Nyman Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed