mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 22:51:37 +00:00
firewire: normalize STATE_CLEAR/SET CSR access interface
Push the maintenance of STATE_CLEAR/SET.abdicate down into the card driver. This way, the read/write_csr_reg driver method works uniformly across all CSR offsets. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
This commit is contained in:
parent
db3c9cc105
commit
c8a94ded57
5 changed files with 30 additions and 40 deletions
|
@ -119,8 +119,7 @@ struct fw_card {
|
|||
int bm_retries;
|
||||
int bm_generation;
|
||||
__be32 bm_transaction_data[2];
|
||||
bool bm_abdicate; /* value of csr_abdicate before last bus reset */
|
||||
bool csr_abdicate; /* visible in CSR STATE_CLEAR/SET registers */
|
||||
bool bm_abdicate;
|
||||
|
||||
bool priority_budget_implemented; /* controller feature */
|
||||
bool broadcast_channel_auto_allocated; /* controller feature */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue