1
0
Fork 0
remarkable-linux/tools/usb/usbip/libsrc
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
..
Makefile.am License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
list.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
names.c usbip: move usbip userspace code out of staging 2014-08-25 10:38:56 -07:00
names.h usbip: move usbip userspace code out of staging 2014-08-25 10:38:56 -07:00
sysfs_utils.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sysfs_utils.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
usbip_common.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
usbip_common.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
usbip_device_driver.c usbip: tools: Add vudc backend to usbip tools 2016-04-26 15:19:50 -07:00
usbip_device_driver.h usbip: tools: Add vudc backend to usbip tools 2016-04-26 15:19:50 -07:00
usbip_host_common.c usbip: Fix potential format overflow in userspace tools 2017-03-17 13:16:56 +09:00
usbip_host_common.h usbip: tools: Extract generic code to be shared with vudc backend 2016-04-26 15:19:50 -07:00
usbip_host_driver.c usbip: tools: Extract generic code to be shared with vudc backend 2016-04-26 15:19:50 -07:00
usbip_host_driver.h usbip: tools: Extract generic code to be shared with vudc backend 2016-04-26 15:19:50 -07:00
vhci_driver.c usbip: dynamically allocate idev by nports found in sysfs 2018-08-03 07:50:26 +02:00
vhci_driver.h usbip: dynamically allocate idev by nports found in sysfs 2018-08-03 07:50:26 +02:00