diff options
-rw-r--r-- | drivers/usb/serial/omninet.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/usb/serial/omninet.c b/drivers/usb/serial/omninet.c index ea1105c84d50..ec16b92d52b3 100644 --- a/drivers/usb/serial/omninet.c +++ b/drivers/usb/serial/omninet.c | |||
@@ -74,29 +74,28 @@ static struct usb_serial_driver * const serial_drivers[] = { | |||
74 | }; | 74 | }; |
75 | 75 | ||
76 | 76 | ||
77 | /* The protocol. | 77 | /* |
78 | * The protocol. | ||
78 | * | 79 | * |
79 | * The omni.net always exchange 64 bytes of data with the host. The first | 80 | * The omni.net always exchange 64 bytes of data with the host. The first |
80 | * four bytes are the control header, you can see it in the above structure. | 81 | * four bytes are the control header. |
81 | * | 82 | * |
82 | * oh_seq is a sequence number. Don't know if/how it's used. | 83 | * oh_seq is a sequence number. Don't know if/how it's used. |
83 | * oh_len is the length of the data bytes in the packet. | 84 | * oh_len is the length of the data bytes in the packet. |
84 | * oh_xxx Bit-mapped, related to handshaking and status info. | 85 | * oh_xxx Bit-mapped, related to handshaking and status info. |
85 | * I normally set it to 0x03 in trasmitted frames. | 86 | * I normally set it to 0x03 in transmitted frames. |
86 | * 7: Active when the TA is in a CONNECTed state. | 87 | * 7: Active when the TA is in a CONNECTed state. |
87 | * 6: unknown | 88 | * 6: unknown |
88 | * 5: handshaking, unknown | 89 | * 5: handshaking, unknown |
89 | * 4: handshaking, unknown | 90 | * 4: handshaking, unknown |
90 | * 3: unknown, usually 0 | 91 | * 3: unknown, usually 0 |
91 | * 2: unknown, usually 0 | 92 | * 2: unknown, usually 0 |
92 | * 1: handshaking, unknown, usually set to 1 in trasmitted frames | 93 | * 1: handshaking, unknown, usually set to 1 in transmitted frames |
93 | * 0: handshaking, unknown, usually set to 1 in trasmitted frames | 94 | * 0: handshaking, unknown, usually set to 1 in transmitted frames |
94 | * oh_pad Probably a pad byte. | 95 | * oh_pad Probably a pad byte. |
95 | * | 96 | * |
96 | * After the header you will find data bytes if oh_len was greater than zero. | 97 | * After the header you will find data bytes if oh_len was greater than zero. |
97 | * | ||
98 | */ | 98 | */ |
99 | |||
100 | struct omninet_header { | 99 | struct omninet_header { |
101 | __u8 oh_seq; | 100 | __u8 oh_seq; |
102 | __u8 oh_len; | 101 | __u8 oh_len; |