diff options
Diffstat (limited to 'drivers/mmc/wbsd.h')
| -rw-r--r-- | drivers/mmc/wbsd.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/drivers/mmc/wbsd.h b/drivers/mmc/wbsd.h index 9005b5241b3c..833a621cc01a 100644 --- a/drivers/mmc/wbsd.h +++ b/drivers/mmc/wbsd.h | |||
| @@ -139,51 +139,51 @@ | |||
| 139 | struct wbsd_host | 139 | struct wbsd_host |
| 140 | { | 140 | { |
| 141 | struct mmc_host* mmc; /* MMC structure */ | 141 | struct mmc_host* mmc; /* MMC structure */ |
| 142 | 142 | ||
| 143 | spinlock_t lock; /* Mutex */ | 143 | spinlock_t lock; /* Mutex */ |
| 144 | 144 | ||
| 145 | int flags; /* Driver states */ | 145 | int flags; /* Driver states */ |
| 146 | 146 | ||
| 147 | #define WBSD_FCARD_PRESENT (1<<0) /* Card is present */ | 147 | #define WBSD_FCARD_PRESENT (1<<0) /* Card is present */ |
| 148 | #define WBSD_FIGNORE_DETECT (1<<1) /* Ignore card detection */ | 148 | #define WBSD_FIGNORE_DETECT (1<<1) /* Ignore card detection */ |
| 149 | 149 | ||
| 150 | struct mmc_request* mrq; /* Current request */ | 150 | struct mmc_request* mrq; /* Current request */ |
| 151 | 151 | ||
| 152 | u8 isr; /* Accumulated ISR */ | 152 | u8 isr; /* Accumulated ISR */ |
| 153 | 153 | ||
| 154 | struct scatterlist* cur_sg; /* Current SG entry */ | 154 | struct scatterlist* cur_sg; /* Current SG entry */ |
| 155 | unsigned int num_sg; /* Number of entries left */ | 155 | unsigned int num_sg; /* Number of entries left */ |
| 156 | void* mapped_sg; /* vaddr of mapped sg */ | 156 | void* mapped_sg; /* vaddr of mapped sg */ |
| 157 | 157 | ||
| 158 | unsigned int offset; /* Offset into current entry */ | 158 | unsigned int offset; /* Offset into current entry */ |
| 159 | unsigned int remain; /* Data left in curren entry */ | 159 | unsigned int remain; /* Data left in curren entry */ |
| 160 | 160 | ||
| 161 | int size; /* Total size of transfer */ | 161 | int size; /* Total size of transfer */ |
| 162 | 162 | ||
| 163 | char* dma_buffer; /* ISA DMA buffer */ | 163 | char* dma_buffer; /* ISA DMA buffer */ |
| 164 | dma_addr_t dma_addr; /* Physical address for same */ | 164 | dma_addr_t dma_addr; /* Physical address for same */ |
| 165 | 165 | ||
| 166 | int firsterr; /* See fifo functions */ | 166 | int firsterr; /* See fifo functions */ |
| 167 | 167 | ||
| 168 | u8 clk; /* Current clock speed */ | 168 | u8 clk; /* Current clock speed */ |
| 169 | unsigned char bus_width; /* Current bus width */ | 169 | unsigned char bus_width; /* Current bus width */ |
| 170 | 170 | ||
| 171 | int config; /* Config port */ | 171 | int config; /* Config port */ |
| 172 | u8 unlock_code; /* Code to unlock config */ | 172 | u8 unlock_code; /* Code to unlock config */ |
| 173 | 173 | ||
| 174 | int chip_id; /* ID of controller */ | 174 | int chip_id; /* ID of controller */ |
| 175 | 175 | ||
| 176 | int base; /* I/O port base */ | 176 | int base; /* I/O port base */ |
| 177 | int irq; /* Interrupt */ | 177 | int irq; /* Interrupt */ |
| 178 | int dma; /* DMA channel */ | 178 | int dma; /* DMA channel */ |
| 179 | 179 | ||
| 180 | struct tasklet_struct card_tasklet; /* Tasklet structures */ | 180 | struct tasklet_struct card_tasklet; /* Tasklet structures */ |
| 181 | struct tasklet_struct fifo_tasklet; | 181 | struct tasklet_struct fifo_tasklet; |
| 182 | struct tasklet_struct crc_tasklet; | 182 | struct tasklet_struct crc_tasklet; |
| 183 | struct tasklet_struct timeout_tasklet; | 183 | struct tasklet_struct timeout_tasklet; |
| 184 | struct tasklet_struct finish_tasklet; | 184 | struct tasklet_struct finish_tasklet; |
| 185 | struct tasklet_struct block_tasklet; | 185 | struct tasklet_struct block_tasklet; |
| 186 | 186 | ||
| 187 | struct timer_list detect_timer; /* Card detection timer */ | 187 | struct timer_list detect_timer; /* Card detection timer */ |
| 188 | struct timer_list ignore_timer; /* Ignore detection timer */ | 188 | struct timer_list ignore_timer; /* Ignore detection timer */ |
| 189 | }; | 189 | }; |
