diff options
| author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-07-22 03:12:37 -0400 |
|---|---|---|
| committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-07-22 03:12:37 -0400 |
| commit | 8725f25acc656c1522d48a6746055099efdaca4c (patch) | |
| tree | e241424fa58178ed6c2a95a4eb931ea83dbea33c /drivers/usb/class/cdc-acm.h | |
| parent | c69cccc95fe4b90dde5fe33e6a3b77880b534fa4 (diff) | |
| parent | 93ded9b8fd42abe2c3607097963d8de6ad9117eb (diff) | |
Merge commit 'origin/master'
Manually fixed up:
drivers/net/fs_enet/fs_enet-main.c
Diffstat (limited to 'drivers/usb/class/cdc-acm.h')
| -rw-r--r-- | drivers/usb/class/cdc-acm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/usb/class/cdc-acm.h b/drivers/usb/class/cdc-acm.h index 046e064b033a..85c3aaaab7c5 100644 --- a/drivers/usb/class/cdc-acm.h +++ b/drivers/usb/class/cdc-acm.h | |||
| @@ -107,10 +107,14 @@ struct acm { | |||
| 107 | struct list_head filled_read_bufs; | 107 | struct list_head filled_read_bufs; |
| 108 | int write_used; /* number of non-empty write buffers */ | 108 | int write_used; /* number of non-empty write buffers */ |
| 109 | int write_ready; /* write urb is not running */ | 109 | int write_ready; /* write urb is not running */ |
| 110 | int old_ready; | ||
| 111 | int processing; | ||
| 112 | int transmitting; | ||
| 110 | spinlock_t write_lock; | 113 | spinlock_t write_lock; |
| 111 | struct mutex mutex; | 114 | struct mutex mutex; |
| 112 | struct usb_cdc_line_coding line; /* bits, stop, parity */ | 115 | struct usb_cdc_line_coding line; /* bits, stop, parity */ |
| 113 | struct work_struct work; /* work queue entry for line discipline waking up */ | 116 | struct work_struct work; /* work queue entry for line discipline waking up */ |
| 117 | struct work_struct waker; | ||
| 114 | struct tasklet_struct urb_task; /* rx processing */ | 118 | struct tasklet_struct urb_task; /* rx processing */ |
| 115 | spinlock_t throttle_lock; /* synchronize throtteling and read callback */ | 119 | spinlock_t throttle_lock; /* synchronize throtteling and read callback */ |
| 116 | unsigned int ctrlin; /* input control lines (DCD, DSR, RI, break, overruns) */ | 120 | unsigned int ctrlin; /* input control lines (DCD, DSR, RI, break, overruns) */ |
| @@ -123,6 +127,7 @@ struct acm { | |||
| 123 | unsigned char clocal; /* termios CLOCAL */ | 127 | unsigned char clocal; /* termios CLOCAL */ |
| 124 | unsigned int ctrl_caps; /* control capabilities from the class specific header */ | 128 | unsigned int ctrl_caps; /* control capabilities from the class specific header */ |
| 125 | unsigned int susp_count; /* number of suspended interfaces */ | 129 | unsigned int susp_count; /* number of suspended interfaces */ |
| 130 | struct acm_wb *delayed_wb; /* write queued for a device about to be woken */ | ||
| 126 | }; | 131 | }; |
| 127 | 132 | ||
| 128 | #define CDC_DATA_INTERFACE_TYPE 0x0a | 133 | #define CDC_DATA_INTERFACE_TYPE 0x0a |
