summaryrefslogtreecommitdiffstats
path: root/drivers/staging/usbip/usbip_protocol.txt
diff options
context:
space:
mode:
authorAlexander Thomas2011-09-19 16:56:51 +0200
committerGreg Kroah-Hartman2011-09-19 19:45:03 +0200
commit7518b9b8fc72a6c0ba67f33bdd4689c7dd28686a (patch)
tree0817a9784632f8d082f425fafe22b56c8d79465e /drivers/staging/usbip/usbip_protocol.txt
parentstaging: brcm80211: sparse endianness warnings on fullmac bss info (diff)
downloadkernel-qcow2-linux-7518b9b8fc72a6c0ba67f33bdd4689c7dd28686a.tar.gz
kernel-qcow2-linux-7518b9b8fc72a6c0ba67f33bdd4689c7dd28686a.tar.xz
kernel-qcow2-linux-7518b9b8fc72a6c0ba67f33bdd4689c7dd28686a.zip
staging: usbip: fix up api changes that broke windows clients
Revert changes in definitions that were submitted on May 11 2011 and committed on June 7 2011. No reason for the change in these values was given in the patch comment, it broke compatibility with older versions, and was difficult to detect by the simultaneous move of the lines of code. Signed-off-by: Alexander Thomas <alexander.thomas@esaturnus.com> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/usbip/usbip_protocol.txt')
-rw-r--r--drivers/staging/usbip/usbip_protocol.txt20
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/staging/usbip/usbip_protocol.txt b/drivers/staging/usbip/usbip_protocol.txt
index 84e353b714bb..0f102081e86c 100644
--- a/drivers/staging/usbip/usbip_protocol.txt
+++ b/drivers/staging/usbip/usbip_protocol.txt
@@ -243,8 +243,8 @@ USBIP_CMD_SUBMIT: Submit an URB
-----------+--------+------------+---------------------------------------------------
8 | 4 | | devid
-----------+--------+------------+---------------------------------------------------
- 0xC | 4 | | direction: 0: USBIP_DIR_IN
- | | | 1: USBIP_DIR_OUT
+ 0xC | 4 | | direction: 0: USBIP_DIR_OUT
+ | | | 1: USBIP_DIR_IN
-----------+--------+------------+---------------------------------------------------
0x10 | 4 | | ep: endpoint number, possible values are: 0...15
-----------+--------+------------+---------------------------------------------------
@@ -285,14 +285,14 @@ USBIP_RET_SUBMIT: Reply for submitting an URB
Offset | Length | Value | Description
-----------+--------+------------+---------------------------------------------------
- 0 | 4 | 0x00000002 | command
+ 0 | 4 | 0x00000003 | command
-----------+--------+------------+---------------------------------------------------
4 | 4 | | seqnum: URB sequence number
-----------+--------+------------+---------------------------------------------------
8 | 4 | | devid
-----------+--------+------------+---------------------------------------------------
- 0xC | 4 | | direction: 0: USBIP_DIR_IN
- | | | 1: USBIP_DIR_OUT
+ 0xC | 4 | | direction: 0: USBIP_DIR_OUT
+ | | | 1: USBIP_DIR_IN
-----------+--------+------------+---------------------------------------------------
0x10 | 4 | | ep: endpoint number
-----------+--------+------------+---------------------------------------------------
@@ -318,14 +318,14 @@ USBIP_CMD_UNLINK: Unlink an URB
Offset | Length | Value | Description
-----------+--------+------------+---------------------------------------------------
- 0 | 4 | 0x00000003 | command: URB unlink command
+ 0 | 4 | 0x00000002 | command: URB unlink command
-----------+--------+------------+---------------------------------------------------
4 | 4 | | seqnum: URB sequence number to unlink: FIXME: is this so?
-----------+--------+------------+---------------------------------------------------
8 | 4 | | devid
-----------+--------+------------+---------------------------------------------------
- 0xC | 4 | | direction: 0: USBIP_DIR_IN
- | | | 1: USBIP_DIR_OUT
+ 0xC | 4 | | direction: 0: USBIP_DIR_OUT
+ | | | 1: USBIP_DIR_IN
-----------+--------+------------+---------------------------------------------------
0x10 | 4 | | ep: endpoint number: zero
-----------+--------+------------+---------------------------------------------------
@@ -345,8 +345,8 @@ USBIP_RET_UNLINK: Reply for URB unlink
-----------+--------+------------+---------------------------------------------------
8 | 4 | | devid
-----------+--------+------------+---------------------------------------------------
- 0xC | 4 | | direction: 0: USBIP_DIR_IN
- | | | 1: USBIP_DIR_OUT
+ 0xC | 4 | | direction: 0: USBIP_DIR_OUT
+ | | | 1: USBIP_DIR_IN
-----------+--------+------------+---------------------------------------------------
0x10 | 4 | | ep: endpoint number
-----------+--------+------------+---------------------------------------------------