1
0
Fork 0
remarkable-linux/tools/usb
Michael Grzeschik 38c8c0a970 usbip: dynamically allocate idev by nports found in sysfs
[ Upstream commit de19ca6fd7 ]

As the amount of available ports varies by the kernels build
configuration. To remove the limitation of the fixed 128 ports
we allocate the amount of idevs by using the number we get
from the kernel.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Acked-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-08-03 07:50:26 +02:00
..
ffs-aio-example License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
usbip usbip: dynamically allocate idev by nports found in sysfs 2018-08-03 07:50:26 +02:00
.gitignore tools/usb: Add .gitignore file 2017-03-16 18:01:01 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ffs-test.c tools: usb: ffs-test: add SS descriptors 2017-01-24 11:04:16 +02:00
hcd-tests.sh License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
testusb.c tools: usb: testusb: update default vary for superspeed 2017-06-02 11:22:27 +03:00