diff options
Diffstat (limited to 'drivers/firewire/fw-device.c')
-rw-r--r-- | drivers/firewire/fw-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/fw-device.c b/drivers/firewire/fw-device.c index 75365cd0008a..2d01bc1b9752 100644 --- a/drivers/firewire/fw-device.c +++ b/drivers/firewire/fw-device.c | |||
@@ -410,7 +410,7 @@ read_rom(struct fw_device *device, int generation, int index, u32 *data) | |||
410 | 410 | ||
411 | init_completion(&callback_data.done); | 411 | init_completion(&callback_data.done); |
412 | 412 | ||
413 | offset = 0xfffff0000400ULL + index * 4; | 413 | offset = (CSR_REGISTER_BASE | CSR_CONFIG_ROM) + index * 4; |
414 | fw_send_request(device->card, &t, TCODE_READ_QUADLET_REQUEST, | 414 | fw_send_request(device->card, &t, TCODE_READ_QUADLET_REQUEST, |
415 | device->node_id, generation, device->max_speed, | 415 | device->node_id, generation, device->max_speed, |
416 | offset, NULL, 4, complete_transaction, &callback_data); | 416 | offset, NULL, 4, complete_transaction, &callback_data); |