All of lore.kernel.org
 help / color / mirror / Atom feed
* usbip: fix protocol documentation
@ 2018-01-28  6:47 Alexandre Demers
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Demers @ 2018-01-28  6:47 UTC (permalink / raw)
  To: valentina.manea.m; +Cc: linux-usb

Signed-off-by: Alexandre Demers <alexandre.f.demers@gmail.com>
---
 Documentation/usb/usbip_protocol.txt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

--
2.16.1.windows.1
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

diff --git a/Documentation/usb/usbip_protocol.txt b/Documentation/usb/usbip_protocol.txt
index 16b6fe27284c..23527101e2ea 100644
--- a/Documentation/usb/usbip_protocol.txt
+++ b/Documentation/usb/usbip_protocol.txt
@@ -2,7 +2,7 @@ PRELIMINARY DRAFT, MAY CONTAIN MISTAKES!
 28 Jun 2011

 The USB/IP protocol follows a server/client architecture. The server exports the
-USB devices and the clients imports them. The device driver for the exported
+USB devices and the clients imports them. The device driver for the imported
 USB device runs on the client machine.

 The client may ask for the list of the exported USB devices. To get the list the
@@ -153,7 +153,7 @@ OP_REP_DEVLIST: Reply with the list of exported USB devices.
 -----------+--------+------------+---------------------------------------------------
  0x144     |        | m_0        | From now on each interface is described, all
            |        |            |   together bNumInterfaces times, with the
-           |        |            |   the following 4 fields:
+           |        |            |   following 4 fields:
 -----------+--------+------------+---------------------------------------------------
            | 1      |            | bInterfaceClass
 -----------+--------+------------+---------------------------------------------------
@@ -164,7 +164,7 @@ OP_REP_DEVLIST: Reply with the list of exported USB devices.
  0x147     | 1      |            | padding byte for alignment, shall be set to zero
 -----------+--------+------------+---------------------------------------------------
  0xC +     |        |            | The second exported USB device starts at i=1
- i*0x138 + |        |            | with the busid field.
+ i*0x138 + |        |            | with the path field.
  m_(i-1)*4 |        |            |

 OP_REQ_IMPORT: Request to import (attach) a remote USB device.
@@ -351,7 +351,7 @@ USBIP_RET_UNLINK: Reply for URB unlink
  0x10      | 4      |            | ep: endpoint number
 -----------+--------+------------+---------------------------------------------------
  0x14      | 4      |            | status: This is the value contained in the
-           |        |            |   urb->status in the URB completition handler.
+           |        |            |   urb->status in the URB completion handler.
            |        |            |   FIXME: a better explanation needed.
 -----------+--------+------------+---------------------------------------------------
  0x30      | n      |            | URB data bytes. For ISO transfers the padding

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* usbip: fix protocol documentation
@ 2018-01-28  7:12 Alexandre Demers
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Demers @ 2018-01-28  7:12 UTC (permalink / raw)
  To: valentina.manea.m; +Cc: linux-usb

Sorry, forget this patch, the comment was lost by my fault. I'm sending
a the corrected patch in a few seconds.

Alexandre Demers

On 2018-01-28 01:47, Alexandre Demers wrote:
> Signed-off-by: Alexandre Demers <alexandre.f.demers@gmail.com>
> ---
>  Documentation/usb/usbip_protocol.txt | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/Documentation/usb/usbip_protocol.txt b/Documentation/usb/usbip_protocol.txt
> index 16b6fe27284c..23527101e2ea 100644
> --- a/Documentation/usb/usbip_protocol.txt
> +++ b/Documentation/usb/usbip_protocol.txt
> @@ -2,7 +2,7 @@ PRELIMINARY DRAFT, MAY CONTAIN MISTAKES!
>  28 Jun 2011
>
>  The USB/IP protocol follows a server/client architecture. The server exports the
> -USB devices and the clients imports them. The device driver for the exported
> +USB devices and the clients imports them. The device driver for the imported
>  USB device runs on the client machine.
>
>  The client may ask for the list of the exported USB devices. To get the list the
> @@ -153,7 +153,7 @@ OP_REP_DEVLIST: Reply with the list of exported USB devices.
>  -----------+--------+------------+---------------------------------------------------
>   0x144     |        | m_0        | From now on each interface is described, all
>             |        |            |   together bNumInterfaces times, with the
> -           |        |            |   the following 4 fields:
> +           |        |            |   following 4 fields:
>  -----------+--------+------------+---------------------------------------------------
>             | 1      |            | bInterfaceClass
>  -----------+--------+------------+---------------------------------------------------
> @@ -164,7 +164,7 @@ OP_REP_DEVLIST: Reply with the list of exported USB devices.
>   0x147     | 1      |            | padding byte for alignment, shall be set to zero
>  -----------+--------+------------+---------------------------------------------------
>   0xC +     |        |            | The second exported USB device starts at i=1
> - i*0x138 + |        |            | with the busid field.
> + i*0x138 + |        |            | with the path field.
>   m_(i-1)*4 |        |            |
>
>  OP_REQ_IMPORT: Request to import (attach) a remote USB device.
> @@ -351,7 +351,7 @@ USBIP_RET_UNLINK: Reply for URB unlink
>   0x10      | 4      |            | ep: endpoint number
>  -----------+--------+------------+---------------------------------------------------
>   0x14      | 4      |            | status: This is the value contained in the
> -           |        |            |   urb->status in the URB completition handler.
> +           |        |            |   urb->status in the URB completion handler.
>             |        |            |   FIXME: a better explanation needed.
>  -----------+--------+------------+---------------------------------------------------
>   0x30      | n      |            | URB data bytes. For ISO transfers the padding
> --
> 2.16.1.windows.1
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-01-28  7:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-28  6:47 usbip: fix protocol documentation Alexandre Demers
2018-01-28  7:12 Alexandre Demers

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.