aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/atm/usbatm.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/atm/usbatm.h')
-rw-r--r--drivers/usb/atm/usbatm.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/usb/atm/usbatm.h b/drivers/usb/atm/usbatm.h
index 1a31cf87bb1f..0e2caa0967c1 100644
--- a/drivers/usb/atm/usbatm.h
+++ b/drivers/usb/atm/usbatm.h
@@ -87,6 +87,7 @@
87/* flags, set by mini-driver in bind() */ 87/* flags, set by mini-driver in bind() */
88 88
89#define UDSL_SKIP_HEAVY_INIT (1<<0) 89#define UDSL_SKIP_HEAVY_INIT (1<<0)
90#define UDSL_USE_ISOC (1<<1)
90 91
91 92
92/* mini driver */ 93/* mini driver */
@@ -118,8 +119,9 @@ struct usbatm_driver {
118 /* cleanup ATM device ... can sleep, but can't fail */ 119 /* cleanup ATM device ... can sleep, but can't fail */
119 void (*atm_stop) (struct usbatm_data *, struct atm_dev *); 120 void (*atm_stop) (struct usbatm_data *, struct atm_dev *);
120 121
121 int in; /* rx endpoint */ 122 int bulk_in; /* bulk rx endpoint */
122 int out; /* tx endpoint */ 123 int isoc_in; /* isochronous rx endpoint */
124 int bulk_out; /* bulk tx endpoint */
123 125
124 unsigned rx_padding; 126 unsigned rx_padding;
125 unsigned tx_padding; 127 unsigned tx_padding;
@@ -134,6 +136,7 @@ struct usbatm_channel {
134 int endpoint; /* usb pipe */ 136 int endpoint; /* usb pipe */
135 unsigned int stride; /* ATM cell size + padding */ 137 unsigned int stride; /* ATM cell size + padding */
136 unsigned int buf_size; /* urb buffer size */ 138 unsigned int buf_size; /* urb buffer size */
139 unsigned int packet_size; /* endpoint maxpacket */
137 spinlock_t lock; 140 spinlock_t lock;
138 struct list_head list; 141 struct list_head list;
139 struct tasklet_struct tasklet; 142 struct tasklet_struct tasklet;