diff options
Diffstat (limited to 'drivers/usb/storage/usb.h')
-rw-r--r-- | drivers/usb/storage/usb.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/usb/storage/usb.h b/drivers/usb/storage/usb.h index a4ad73bd832d..65e674e4be99 100644 --- a/drivers/usb/storage/usb.h +++ b/drivers/usb/storage/usb.h | |||
@@ -138,7 +138,6 @@ struct us_data { | |||
138 | struct usb_ctrlrequest *cr; /* control requests */ | 138 | struct usb_ctrlrequest *cr; /* control requests */ |
139 | struct usb_sg_request current_sg; /* scatter-gather req. */ | 139 | struct usb_sg_request current_sg; /* scatter-gather req. */ |
140 | unsigned char *iobuf; /* I/O buffer */ | 140 | unsigned char *iobuf; /* I/O buffer */ |
141 | unsigned char *sensebuf; /* sense data buffer */ | ||
142 | dma_addr_t cr_dma; /* buffer DMA addresses */ | 141 | dma_addr_t cr_dma; /* buffer DMA addresses */ |
143 | dma_addr_t iobuf_dma; | 142 | dma_addr_t iobuf_dma; |
144 | struct task_struct *ctl_thread; /* the control thread */ | 143 | struct task_struct *ctl_thread; /* the control thread */ |
@@ -155,6 +154,10 @@ struct us_data { | |||
155 | #ifdef CONFIG_PM | 154 | #ifdef CONFIG_PM |
156 | pm_hook suspend_resume_hook; | 155 | pm_hook suspend_resume_hook; |
157 | #endif | 156 | #endif |
157 | |||
158 | /* hacks for READ CAPACITY bug handling */ | ||
159 | int use_last_sector_hacks; | ||
160 | int last_sector_retries; | ||
158 | }; | 161 | }; |
159 | 162 | ||
160 | /* Convert between us_data and the corresponding Scsi_Host */ | 163 | /* Convert between us_data and the corresponding Scsi_Host */ |