diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2010-06-10 08:24:35 +0200 |
---|---|---|
committer | Clemens Ladisch <clemens@ladisch.de> | 2010-06-10 08:24:35 +0200 |
commit | 60d32970c5a32e8c4f340a9e41993759ad658ef2 (patch) | |
tree | a7f60c934ae250f0291622cb02540638ef7cbf6d /drivers/firewire/core.h | |
parent | firewire: core: add CSR STATE_CLEAR/STATE_SET support (diff) | |
download | linux-60d32970c5a32e8c4f340a9e41993759ad658ef2.tar.xz linux-60d32970c5a32e8c4f340a9e41993759ad658ef2.zip |
firewire: add read_csr_reg driver callback
To prepare for the following additions of more OHCI-implemented CSR
registers, replace the get_cycle_time driver callback with a generic
CSR register callback.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'drivers/firewire/core.h')
-rw-r--r-- | drivers/firewire/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/core.h b/drivers/firewire/core.h index 25a72e57a0cd..c19e9873e433 100644 --- a/drivers/firewire/core.h +++ b/drivers/firewire/core.h @@ -75,7 +75,7 @@ struct fw_card_driver { int (*enable_phys_dma)(struct fw_card *card, int node_id, int generation); - u32 (*get_cycle_time)(struct fw_card *card); + u32 (*read_csr_reg)(struct fw_card *card, int csr_offset); struct fw_iso_context * (*allocate_iso_context)(struct fw_card *card, |