mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 13:41:30 +00:00
firewire: replace get_features card driver hook
by feature variables in the fw_card struct. The hook appeared to be an unnecessary abstraction in the card driver interface. Cleaner would be to pass those feature flags as arguments to fw_card_initialize() or fw_card_add(), but the FairnessControl register is in the SCLK domain and may therefore not be accessible while Link Power Status is off, i.e. before the card->driver->enable call from fw_card_add(). Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
This commit is contained in:
parent
e847cc832b
commit
db3c9cc105
5 changed files with 7 additions and 21 deletions
|
@ -122,6 +122,9 @@ struct fw_card {
|
|||
bool bm_abdicate; /* value of csr_abdicate before last bus reset */
|
||||
bool csr_abdicate; /* visible in CSR STATE_CLEAR/SET registers */
|
||||
|
||||
bool priority_budget_implemented; /* controller feature */
|
||||
bool broadcast_channel_auto_allocated; /* controller feature */
|
||||
|
||||
bool broadcast_channel_allocated;
|
||||
u32 broadcast_channel;
|
||||
__be32 topology_map[(CSR_TOPOLOGY_MAP_END - CSR_TOPOLOGY_MAP) / 4];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue