is much different than this patch.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
Version information
v3)
Updated based on linux-next 2017-08-28.
Removed unnecessary modification to store_detach().
Added description about difference from alternate solution in change log.
Cor
v2)
Gathered usbip_vhci_driver_close() for errors under an exit label.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
drivers/usb/usbip/vhci_sysfs.c | 8 ++--
tools/usb/usbip/src/usbip_attach.c | 33 +-
2 files changed, 25 insertions(
operations for userspace tool.
When number of free ports becomes more than USBIP_VHCI_HC_PORTS *
VHCI_FREE_HCS(2), a free controller other than the first one will be
unregistered. It will be invoked by 'detach' operation and other error
situations which ports are released.
Signed-off-by: Nobuo
: ports across the controllers.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/libsrc/vhci_driver.c | 396 ++-
tools/usb/usbip/libsrc/vhci_driver.h | 45 +--
tools/usb/usbip/src/usbip_attach.c | 12 +-
tools/usb/usbip/src/usbip_
and warnings.
v2)
# Added static to some functions and variables not called from other
files.
*** BLURB HERE ***
Nobuo Iwata (2):
usbip: vhci extension: modifications to userspace
usbip: vhci extension: dynamic extension
drivers/usb/usbip/Kconfig| 17 +-
drivers/usb/usbip
mixed usage of 'export', 'importable' is used for devices to
be attached with 'import' request.
The word 'imported' has already been used in output of port operation.
It is consistent to this patch.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
Reviewed-by: Krzysztof Opasiak &
start daemon
= = =
2) # usbip list --local
3) # usbip connect--- export a device -->
= = =
4) # usbip disconnect --- un-export a device --->
Bind and unbind are done in connect and disconnect internally.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tool
' are
ambiguous in several place. To avoid confusion, 'device-side' and
'application-side' are written together with 'server' and 'client'.
'export' was used in the counter side of 'import' request. This patch
organizes usage of 'import' and 'export'.
Signed-off-by: Nobuo Iwata <nobuo
ind are done in connect and disconnect internally.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/Makefile.am | 2 +-
tools/usb/usbip/README | 81 -
tools/usb/usbip/doc/usbip.8 | 136 ---
tools/usb/usbip/
ct --- un-export a device --->
Bind and unbind are done in connect and disconnect internally.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/libsrc/usbip_host_common.c | 6 ++
tools/usb/usbip/libsrc/usbip_host_common.h | 8
tools/usb
come empty struct. Other empty struct, 'op_devlist_request',
defined.
This patch also includes string translation of the status codes.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/src/usbip_network.c | 26 +-
tools/usb/usbip/src/usbi
1) # usbipa ... start daemon
= = =
2) # usbip list --local
3) # usbip connect--- export a device -->
= = =
4) # usbip disconnect --- un-export a device --->
Bind and unbind are done in connect and disconnect internally.
Signed-off-by: Nobuo Iwata <nobuo.iw...@
usbip list --local
3) # usbip connect--- export a device -->
= = =
4) # usbip disconnect --- un-export a device --->
Bind and unbind are done in connect and disconnect internally.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/libsrc/
atted patches from linux-next.
# Fixed change log word wrapping.
# Removed SSL patches.
# Fixed a bug that vendor and product names are not shown by 'usbws
list -l' because usbip_names_init() was not called in libusbip.la.
Thank you,
Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
//
*** BLURB
side daemon
procedure. There's no effect by the defferring. It is moved to right
after accept() to affect it both device and application side. In the
client operation, it's already in right after connect().
In send_reply_devlist(), driver->ndevs is used insted of counting list.
Signed-off-by: Nobuo
usbip list --local
3) # usbip connect--- export a device -->
= = =
4) # usbip disconnect --- un-export a device --->
Bind and unbind are done in connect and disconnect internally.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/src/Makefi
Condition
EINVAL same as leftspecified port numbre is in invalid
range
EAGAIN same as leftplatform_get_drvdata() failed
EINVAL same as leftspecified socket fd is not valid
EINVAL EBUSY specified port status is not free
Signed-off-by: Nobuo Iwata
for userspace tool.
When number of free ports becomes more than USBIP_VHCI_HC_PORTS *
VHCI_FREE_HCS(2), a free controller other than the first one will be
unregistered. It will be invoked by 'detach' operation and other error
situations which ports are released.
Signed-off-by: Nobuo Iwata
: ports across the controllers.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/libsrc/vhci_driver.c | 398 +++
tools/usb/usbip/libsrc/vhci_driver.h | 45 +--
tools/usb/usbip/src/usbip_attach.c | 8 +-
tools/usb/usbip/src/usbip_
files.
*** BLURB HERE ***
Nobuo Iwata (2):
usbip: vhci extension: modifications to userspace
usbip: vhci extension: dynamic extension
drivers/usb/usbip/Kconfig| 17 +-
drivers/usb/usbip/vhci.h | 36 ++-
drivers/usb/usbip/vhci_hcd.c | 250
n/VHCI |
+--+ +--+
1) usbipa ... start daemon
= = =
2) usbip list --local
3) usbip connect --- export a device -->
= = =
4) usbip disconnect --- un-export a device --->
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/libsrc/vhci_driver.
' are
ambiguous in several place. To avoid confusion, 'device-side' and
'application-side' are written together with 'server' and 'client'.
'export' was used in the counter side of 'import' request. This patch
organizes usage of 'import' and 'export'.
Signed-off-by: Nobuo Iwata <nobuo
usbipa ... start daemon
= = =
2) usbip list --local
3) usbip connect --- export a device -->
= = =
4) usbip disconnect --- un-export a device --->
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/Makefile.am | 2 +-
tools/usb/usbip/
mixed usage of 'export', 'importable' is used for devices to
be attached with 'import' request.
The word 'imported' has already been used in output of port operation.
It is consistent to this patch.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/src/usbip_
daemon
= = =
2) usbip list --local
3) usbip connect --- export a device -->
= = =
4) usbip disconnect --- un-export a device --->
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/libsrc/vhci_driver.c | 99
tool
device -->
= = =
4) usbip disconnect --- un-export a device --->
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/src/Makefile.am | 3 +-
tools/usb/usbip/src/usbip.c | 9 +-
tools/usb/usbip/src/usbip.h | 5 +-
tools/usb/usbip/src/usb
p list --local
3) usbip connect --- export a device -->
= = =
4) usbip disconnect --- un-export a device --->
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/src/Makefile.am| 2 +-
tools/usb/usbip/src/usbip.c| 6 +
tools/usb
ht
after accept() to affect it both device and application side. In the
client operation, it's already in right after connect().
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/src/Makefile.am | 2 +-
tools/usb/usbip/src/usb
Modification to export and un-export response in
tools/usb/usbip/src/usbip_network.h. It just changes return code type
from int to uint32_t as same as other responses.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/src/usbip_network.h | 4 ++--
1 file chan
shown by 'usbws
list -l' because usbip_names_init() was not called in libusbip.la.
Thank you,
Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
//
*** BLURB HERE ***
Nobuo Iwata (10):
usbip: exporting devices: modifications to network header
usbip: exporting devices: modifications to host side libraries
n/VHCI |
+--+ +--+
1) usbipa ... start daemon
= = =
2) usbip list --local
3) usbip connect --- export a device -->
= = =
4) usbip disconnect --- un-export a device --->
Bind and unbind are done in connect and disconnect internally.
Signed-off-by: Nobuo Iwa
Refactoring to attach and detatch operation. Common parts to new
application(vhci)-side daemon are moved to libsrc/vhci_driver.c.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/libsrc/vhci_driver.c | 99
tools/usb/usbip/
Correction to wording inconsistency around import and export in
usbip_list.c.
Please, see also cover letter about wording.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/src/usbip_list.c | 22 --
1 file changed, 12 insertions(+), 10 del
in different machine than before.
So, to avoid confusion, words 'device side (machine)' and 'application
side (machine)' are used instead of 'client' and 'server' as needed.
Please, see also diagrams in the cover letter.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb
New application(vhci)-side daemon.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/libsrc/vhci_driver.c | 19 +++
tools/usb/usbip/libsrc/vhci_driver.h | 1 +
tools/usb/usbip/src/Makefile.am | 7 +-
tools/usb/usbip/src/usbipd.c | 12 +-
too
. In the client operation, it's in right
after connect(). So, in daemon, it is moved to right after accept() to
affect it both device and application side.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/src/Makefile.am | 2 +-
tools/usb/usbip/src/usbipd.c
New disconnect operation.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/src/Makefile.am| 2 +-
tools/usb/usbip/src/usbip.c| 6 +
tools/usb/usbip/src/usbip.h| 2 +
tools/usb/usbip/src/usbip_disconnect.c
New connect operation.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/src/Makefile.am | 3 +-
tools/usb/usbip/src/usbip.c | 9 +-
tools/usb/usbip/src/usbip.h | 5 +-
tools/usb/usbip/src/usbip_connect.c | 228 +
Modification to export and un-export response in
tools/usb/usbip/src/usbip_network.h. It just changes return code type
from int to uint32_t as same as other responses.
Added export and un-export request/response to
Documentation/usb/usbip_protocol.txt.
Signed-off-by: Nobuo Iwata <nobuo
usbip_get_device() method in usbip_host_driver_ops was not used. It is
modified as a function to find an exported device for new operations
'connect' and 'disconnect'.
bind and unbind function are exported for the new operations.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co
version-info to libraries in tools/.../src.
v2)
# Formatted patches from linux-next.
# Fixed change log word wrapping.
# Removed SSL patches.
# Fixed a bug that vendor and product names are not shown by 'usbws
list -l' because usbip_names_init() was not called in libusbip.la.
Thank you,
Nobuo
A pointer was passed to vdev_to_vhci() before NULL check.
In vdev_to_vhci(), there's a dereference by the pointer.
This patch moves vdev_to_vhci() after NULL check of the pointer.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
drivers/usb/usbip/vhci_hcd.c | 3 ++-
1 file chang
: ports across the controllers.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/libsrc/vhci_driver.c | 398 +++
tools/usb/usbip/libsrc/vhci_driver.h | 45 +--
tools/usb/usbip/src/usbip_attach.c | 8 +-
tools/usb/usbip/src/usbip_
. In the client operation, it's in right
after connect(). So, in daemon, it is moved to right after accept() to
affect it both device and application side.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/doc/usbipd.8 | 1 -
tools/usb/usbip/src/Makefile.am
New application(vhci)-side daemon.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/libsrc/vhci_driver.c | 19 +++
tools/usb/usbip/libsrc/vhci_driver.h | 1 +
tools/usb/usbip/src/Makefile.am | 7 +-
tools/usb/usbip/src/usbipd.c | 12 +-
too
or and product names are not shown by 'usbws
list -l' because usbip_names_init() was not called in libusbip.la.
Thank you,
Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
//
*** BLURB HERE ***
Nobuo Iwata (9):
usbip: exporting devices: modifications to network header
usbip: exporting devices: modi
Correction to wording inconsistency around import and export in
usbip_list.c.
Please, see also cover letter about wording.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/src/usbip_list.c | 22 --
1 file changed, 12 insertions(+), 10 del
tools compatibility.
# Changed nports status format not to include num_controllers value.
# Fixed checkpatch errors and warnings.
v2)
# Added static to some functions and variables not called from other
files.
*** BLURB HERE ***
Nobuo Iwata (2):
usbip: vhci extension: modifications
of number of USB port restriction. With the
patch set, the value of socket descriptor can exceed FD_SETSIZE(1024
usually) if the rlimit is changed.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/src/usbipd.c | 7 ---
1 file changed, 7 deletions(-)
diff
usbip_get_device() method in usbip_host_driver_ops was not used. It is
modified as a function to find an exported device for new operations
'connect' and 'disconnect'.
bind and unbind function are exported for the new operations.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co
in different machine than before.
So, to avoid confusion, words 'device side (machine)' and 'application
side (machine)' are used instead of 'client' and 'server' as needed.
Please, see also diagrams in the cover letter.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb
-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
drivers/usb/usbip/Kconfig | 17 ++-
drivers/usb/usbip/vhci.h | 36 -
drivers/usb/usbip/vhci_hcd.c | 250 -
drivers/usb/usbip/vhci_rx.c| 10 +-
drivers/usb/usbip/vhci_sysfs.c | 49 ---
drive
New disconnect operation.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/src/Makefile.am| 2 +-
tools/usb/usbip/src/usbip.c| 6 +
tools/usb/usbip/src/usbip.h| 2 +
tools/usb/usbip/src/usbip_disconnect.c
Modification to export and un-export response in
tools/usb/usbip/src/usbip_network.h. It just changes return code type
from int to uint32_t as same as other responses.
Added export and un-export request/response to
Documentation/usb/usbip_protocol.txt.
Signed-off-by: Nobuo Iwata <nobuo
New connect operation.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/src/Makefile.am | 3 +-
tools/usb/usbip/src/usbip.c | 9 +-
tools/usb/usbip/src/usbip.h | 5 +-
tools/usb/usbip/src/usbip_connect.c | 228 +
Refactoring to attach and detatch operation. Common parts to new
application(vhci)-side daemon are moved to libsrc/vhci_driver.c.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/libsrc/vhci_driver.c | 99
tools/usb/usbip/
-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
drivers/usb/usbip/Kconfig | 17 ++-
drivers/usb/usbip/vhci.h | 36 -
drivers/usb/usbip/vhci_hcd.c | 251 -
drivers/usb/usbip/vhci_rx.c| 10 +-
drivers/usb/usbip/vhci_sysfs.c | 49 ---
drive
: ports across the controllers.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/libsrc/vhci_driver.c | 398 +++
tools/usb/usbip/libsrc/vhci_driver.h | 45 +--
tools/usb/usbip/src/usbip_attach.c | 8 +-
tools/usb/usbip/src/usbip_
atibility issue in this change.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
drivers/usb/usbip/Kconfig | 21 +++
drivers/usb/usbip/vhci.h | 54 --
drivers/usb/usbip/vhci_hcd.c | 285 ---
drivers/usb/usbip/vhci_rx.c| 21 +--
to some functions and variables not called from other
files.
*** BLURB HERE ***
Nobuo Iwata (3):
usbip: vhci extension: modifications to vhci driver
usbip: vhci extension: modifications to userspace
usbip: vhci extension: dynamic extension
drivers/usb/usbip/Kconfig| 32
in different machine than before.
So, to avoid confusion, words 'device side (machine)' and 'application
side (machine)' are used instead of 'client' and 'server' as needed.
Please, see also diagrams in the cover letter.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb
Correction to wording inconsistency around import and export in
usbip_list.c.
Please, see also cover letter about wording.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/src/usbip_list.c | 22 --
1 file changed, 12 insertions(+), 10 del
New application(vhci)-side daemon.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/libsrc/vhci_driver.c | 19 +++
tools/usb/usbip/libsrc/vhci_driver.h | 1 +
tools/usb/usbip/src/Makefile.am | 7 +-
tools/usb/usbip/src/usbipd.c | 12 +-
too
Refactoring to attach and detatch operation. Common parts to new
application(vhci)-side daemon are moved to libsrc/vhci_driver.c.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/libsrc/vhci_driver.c | 99
tools/usb/usbip/
New disconnect operation.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/src/Makefile.am| 2 +-
tools/usb/usbip/src/usbip.c| 6 +
tools/usb/usbip/src/usbip.h| 2 +
tools/usb/usbip/src/usbip_disconnect.c
. In the client operation, it's in right
after connect(). So, in daemon, it is moved to right after accept() to
affect it both device and application side.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/doc/usbipd.8 | 1 -
tools/usb/usbip/src/Makefile.am
Modification to export and un-export response in
tools/usb/usbip/src/usbip_network.h. It just changes return code type
from int to uint32_t as same as other responses.
Added export and un-export request/response to
Documentation/usb/usbip_protocol.txt.
Signed-off-by: Nobuo Iwata <nobuo
New connect operation.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/src/Makefile.am | 3 +-
tools/usb/usbip/src/usbip.c | 9 +-
tools/usb/usbip/src/usbip.h | 5 +-
tools/usb/usbip/src/usbip_connect.c | 228 +
shown by 'usbws
list -l' because usbip_names_init() was not called in libusbip.la.
Thank you,
Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
//
*** BLURB HERE ***
Nobuo Iwata (9):
usbip: exporting devices: modifications to network header
usbip: exporting devices: modifications to host side l
usbip_get_device() method in usbip_host_driver_ops was not used. It is
modified as a function to find an exported device for new operations
'connect' and 'disconnect'.
bind and unbind function are exported for the new operations.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co
New application(vhci)-side daemon.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/libsrc/vhci_driver.c | 19 +++
tools/usb/usbip/libsrc/vhci_driver.h | 1 +
tools/usb/usbip/src/Makefile.am | 7 +-
tools/usb/usbip/src/usbipd.c | 12 +-
too
in different machine than before.
So, to avoid confusion, words 'device side (machine)' and 'application
side (machine)' are used instead of 'client' and 'server' as needed.
Please, see also diagrams in the cover letter.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb
. In the client operation, it's in right
after connect(). So, in daemon, it is moved to right after accept() to
affect it both device and application side.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/doc/usbipd.8 | 1 -
tools/usb/usbip/src/Makefile.am
New connect operation.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/src/Makefile.am | 3 +-
tools/usb/usbip/src/usbip.c | 9 +-
tools/usb/usbip/src/usbip.h | 5 +-
tools/usb/usbip/src/usbip_connect.c | 228 +
usbip_get_device() method in usbip_host_driver_ops was not used. It is
modified as a function to find an exported device for new operations
'connect' and 'disconnect'.
bind and unbind function are exported for the new operations.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co
Modification to export and un-export response in
tools/usb/usbip/src/usbip_network.h. It just changes return code type
from int to uint32_t as same as other responses.
Added export and un-export request/response to
Documentation/usb/usbip_protocol.txt.
Signed-off-by: Nobuo Iwata <nobuo
New disconnect operation.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/src/Makefile.am| 2 +-
tools/usb/usbip/src/usbip.c| 6 +
tools/usb/usbip/src/usbip.h| 2 +
tools/usb/usbip/src/usbip_disconnect.c
Refactoring to attach and detatch operation. Common parts to new
application(vhci)-side daemon are moved to libsrc/vhci_driver.c.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/libsrc/vhci_driver.c | 99
tools/usb/usbip/
Correction to wording inconsistency around import and export in
usbip_list.c.
Please, see also cover letter about wording.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/src/usbip_list.c | 22 --
1 file changed, 12 insertions(+), 10 del
not called in libusbip.la.
Thank you,
Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
//
*** BLURB HERE ***
Nobuo Iwata (9):
usbip: exporting devices: modifications to network header
usbip: exporting devices: modifications to host side libraries
usbip: exporting devices: new connect o
atibility issue in this change.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
drivers/usb/usbip/Kconfig | 21 +++
drivers/usb/usbip/vhci.h | 54 --
drivers/usb/usbip/vhci_hcd.c | 285 ---
drivers/usb/usbip/vhci_rx.c| 21 +--
: ports across the controllers.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/libsrc/vhci_driver.c | 398 +++
tools/usb/usbip/libsrc/vhci_driver.h | 45 +--
tools/usb/usbip/src/usbip_attach.c | 8 +-
tools/usb/usbip/src/usbip_
-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
drivers/usb/usbip/Kconfig | 17 ++-
drivers/usb/usbip/vhci.h | 36 -
drivers/usb/usbip/vhci_hcd.c | 251 -
drivers/usb/usbip/vhci_rx.c| 10 +-
drivers/usb/usbip/vhci_sysfs.c | 49 ---
drive
tools compatibility.
# Changed nports status format not to include num_controllers value.
# Fixed checkpatch errors and warnings.
v2)
# Added static to some functions and variables not called from other
files.
*** BLURB HERE ***
Nobuo Iwata (3):
usbip: vhci extension: modifications to vhci
ng.
# Removed SSL patches.
# Fixed a bug that vendor and product names are not shown by 'usbws
list -l' because usbip_names_init() was not called in libusbip.la.
Thank you,
Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
//
*** BLURB HERE ***
Nobuo Iwata (9):
usbip: exporting devices: modificati
Refactoring to the daemon.
usbipd_dev.c is device-side specific code extracted from usbipd.c.
usbipd.c is left as common parts for both device(stub)-side and
application(vhci)-side daemon.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/src/Makefile.am
Modification to export and un-export response in
tools/usb/usbip/src/usbip_network.h. It just changes return code type
from int to uint32_t as same as other responses.
Added export and un-export request/response to
Documentation/usb/usbip_protocol.txt.
Signed-off-by: Nobuo Iwata <nobuo
usbip_host_find_device() is created based on usbip_host_get_device().
usbip_host_get_device() was not used yet.
bind and unbind function are exported for new operations.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/libsrc/usbip_host_common.c | 6 ++
New connect operation.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/src/Makefile.am | 3 +-
tools/usb/usbip/src/usbip.c | 9 +-
tools/usb/usbip/src/usbip.h | 5 +-
tools/usb/usbip/src/usbip_connect.c | 228 +
Refactoring to attach and detatch operation. Common parts to new
application(vhci)-side daemon are moved to libsrc/vhci_driver.c.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/libsrc/vhci_driver.c | 99
tools/usb/usbip/
New disconnect operation.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/src/Makefile.am| 2 +-
tools/usb/usbip/src/usbip.c| 6 +
tools/usb/usbip/src/usbip.h| 2 +
tools/usb/usbip/src/usbip_disconnect.c
in different machine than before.
So, to avoid confusion, words 'device side (machine)' and 'application
side (machine)' are used instead of 'client' and 'server'.
Please, see also diagrams in the cover letter.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/Makef
New application(vhci)-side daemon.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/libsrc/vhci_driver.c | 19 +++
tools/usb/usbip/libsrc/vhci_driver.h | 1 +
tools/usb/usbip/src/Makefile.am | 7 +-
tools/usb/usbip/src/usbipd.c | 12 +-
too
Correction to wording inconsistency around import and export in
usbip_list.c.
Please, see also cover letter about wording.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
tools/usb/usbip/src/usbip_list.c | 22 --
1 file changed, 12 insertions(+), 10 del
modification.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
drivers/usb/usbip/stub_tx.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/usbip/stub_tx.c b/drivers/usb/usbip/stub_tx.c
index dbcabc9..dc223af 100644
--- a/drivers/usb/usbip/stub_tx.c
/input/input22
(*) skipped with this patch in completion
(**) released in 2-3
A. version info
v2)
# Changed log level of ignore message from info to debug.
# Updated log capture in changelog with the log level modification.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
drive
nfo
v2)
# Merged 1/2 event handler itself and 2/2 user programs because of auto
build fail at 1/2 casued unmodified user programs in 1/2.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
drivers/usb/usbip/stub_dev.c | 3 +-
drivers/usb/usbip/usbip_common.c | 7 ++
dr
]
This series of patches put event threads of stub and vhci driver as one
workqueue.
AFTER) only one event threads in each vhci and stub side.
$ ps aux | grep usbip
root 10457 0.0 0.0 0 0 ?S< 17:47 0:00
[usbip_event]
*** BLURB HERE ***
Nobuo Iwata (2):
us
Modifications to code using usbip_event.c
Initialization and termination of workqueue are added to init and exit
routine of usbip_core respectively.
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
drivers/usb/usbip/stub_dev.c | 3 +--
drivers/usb/usbip/usbip_common
(*) skipped with this patch in completion
(**) released in 2-3
Signed-off-by: Nobuo Iwata <nobuo.iw...@fujixerox.co.jp>
---
drivers/usb/usbip/stub_tx.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/usbip/stub_tx.c b/drivers/usb/usbip/stub_tx.c
index d
1 - 100 of 188 matches
Mail list logo