diff options
Diffstat (limited to 'include/linux/usb')
-rw-r--r-- | include/linux/usb/serial.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/linux/usb/serial.h b/include/linux/usb/serial.h index ff8872eba3ac..2a3283761600 100644 --- a/include/linux/usb/serial.h +++ b/include/linux/usb/serial.h | |||
@@ -60,6 +60,8 @@ enum port_dev_state { | |||
60 | * @write_urb: pointer to the bulk out struct urb for this port. | 60 | * @write_urb: pointer to the bulk out struct urb for this port. |
61 | * @write_fifo: kfifo used to buffer outgoing data | 61 | * @write_fifo: kfifo used to buffer outgoing data |
62 | * @write_urb_busy: port`s writing status | 62 | * @write_urb_busy: port`s writing status |
63 | * @tx_bytes: number of bytes currently in host stack queues | ||
64 | * @tx_urbs: number of urbs currently in host stack queues | ||
63 | * @bulk_out_endpointAddress: endpoint address for the bulk out pipe for this | 65 | * @bulk_out_endpointAddress: endpoint address for the bulk out pipe for this |
64 | * port. | 66 | * port. |
65 | * @write_wait: a wait_queue_head_t used by the port. | 67 | * @write_wait: a wait_queue_head_t used by the port. |
@@ -98,8 +100,8 @@ struct usb_serial_port { | |||
98 | int write_urb_busy; | 100 | int write_urb_busy; |
99 | __u8 bulk_out_endpointAddress; | 101 | __u8 bulk_out_endpointAddress; |
100 | 102 | ||
101 | int tx_bytes_flight; | 103 | int tx_bytes; |
102 | int urbs_in_flight; | 104 | int tx_urbs; |
103 | 105 | ||
104 | wait_queue_head_t write_wait; | 106 | wait_queue_head_t write_wait; |
105 | struct work_struct work; | 107 | struct work_struct work; |
@@ -223,7 +225,8 @@ struct usb_serial_driver { | |||
223 | struct device_driver driver; | 225 | struct device_driver driver; |
224 | struct usb_driver *usb_driver; | 226 | struct usb_driver *usb_driver; |
225 | struct usb_dynids dynids; | 227 | struct usb_dynids dynids; |
226 | int max_in_flight_urbs; | 228 | |
229 | unsigned char multi_urb_write:1; | ||
227 | 230 | ||
228 | size_t bulk_in_size; | 231 | size_t bulk_in_size; |
229 | size_t bulk_out_size; | 232 | size_t bulk_out_size; |