提交 351a8d48 编写于 作者: B Ben Hutchings 提交者: Greg Kroah-Hartman

usbip: Correct maximum value of CONFIG_USBIP_VHCI_HC_PORTS

Now that usbip supports USB3, the maximum number of ports allowed
on a hub is 15 (USB_SS_MAXPORTS), not 31 (USB_MAXCHILDREN).
Reported-by: NGianluigi Tiesi <sherpya@netfarm.it>
Reported-by: NBorissh1983 <borissh1983@gmail.com>
References: https://bugs.debian.org/878866
Fixes: 1c9de5bf ("usbip: vhci-hcd: Add USB3 SuperSpeed support")
Signed-off-by: NBen Hutchings <ben@decadent.org.uk>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 c53439fb
......@@ -27,7 +27,7 @@ config USBIP_VHCI_HCD
config USBIP_VHCI_HC_PORTS
int "Number of ports per USB/IP virtual host controller"
range 1 31
range 1 15
default 8
depends on USBIP_VHCI_HCD
---help---
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册