aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/ohci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firewire/ohci.c')
-rw-r--r--drivers/firewire/ohci.c23
1 files changed, 12 insertions, 11 deletions
diff --git a/drivers/firewire/ohci.c b/drivers/firewire/ohci.c
index 047331e59b31..39ddb620cad5 100644
--- a/drivers/firewire/ohci.c
+++ b/drivers/firewire/ohci.c
@@ -166,9 +166,6 @@ struct fw_ohci {
166 struct fw_card card; 166 struct fw_card card;
167 167
168 __iomem char *registers; 168 __iomem char *registers;
169 dma_addr_t self_id_bus;
170 __le32 *self_id_cpu;
171 struct tasklet_struct bus_reset_tasklet;
172 int node_id; 169 int node_id;
173 int generation; 170 int generation;
174 int request_generation; /* for timestamping incoming requests */ 171 int request_generation; /* for timestamping incoming requests */
@@ -182,14 +179,6 @@ struct fw_ohci {
182 * this driver with this lock held. 179 * this driver with this lock held.
183 */ 180 */
184 spinlock_t lock; 181 spinlock_t lock;
185 u32 self_id_buffer[512];
186
187 /* Config rom buffers */
188 __be32 *config_rom;
189 dma_addr_t config_rom_bus;
190 __be32 *next_config_rom;
191 dma_addr_t next_config_rom_bus;
192 __be32 next_header;
193 182
194 struct ar_context ar_request_ctx; 183 struct ar_context ar_request_ctx;
195 struct ar_context ar_response_ctx; 184 struct ar_context ar_response_ctx;
@@ -201,6 +190,18 @@ struct fw_ohci {
201 u64 ir_context_channels; 190 u64 ir_context_channels;
202 u32 ir_context_mask; 191 u32 ir_context_mask;
203 struct iso_context *ir_context_list; 192 struct iso_context *ir_context_list;
193
194 __be32 *config_rom;
195 dma_addr_t config_rom_bus;
196 __be32 *next_config_rom;
197 dma_addr_t next_config_rom_bus;
198 __be32 next_header;
199
200 __le32 *self_id_cpu;
201 dma_addr_t self_id_bus;
202 struct tasklet_struct bus_reset_tasklet;
203
204 u32 self_id_buffer[512];
204}; 205};
205 206
206static inline struct fw_ohci *fw_ohci(struct fw_card *card) 207static inline struct fw_ohci *fw_ohci(struct fw_card *card)