diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2010-06-10 02:37:15 -0400 |
---|---|---|
committer | Clemens Ladisch <clemens@ladisch.de> | 2010-06-10 02:37:15 -0400 |
commit | 7e0e314f198d5048b74c8f0ef9f4c1c02e5ecfc9 (patch) | |
tree | 513fcf8f87f6b24121d4e4eb07e1345e29d81db2 /drivers/firewire/core-topology.c | |
parent | 4ffb7a6a066e4be4577976d1c08e237c7479770a (diff) |
firewire: core: add CSR abdicate support
Implement the abdicate bit, which is required for bus manager
capable nodes and tested by the Base 1394 Test Suite.
Finally, something to do at a command reset! :-)
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'drivers/firewire/core-topology.c')
-rw-r--r-- | drivers/firewire/core-topology.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/firewire/core-topology.c b/drivers/firewire/core-topology.c index 93ec64cdeef7..ca3c65318165 100644 --- a/drivers/firewire/core-topology.c +++ b/drivers/firewire/core-topology.c | |||
@@ -552,6 +552,8 @@ void fw_core_handle_bus_reset(struct fw_card *card, int node_id, int generation, | |||
552 | smp_wmb(); | 552 | smp_wmb(); |
553 | card->generation = generation; | 553 | card->generation = generation; |
554 | card->reset_jiffies = jiffies; | 554 | card->reset_jiffies = jiffies; |
555 | card->bm_abdicate = card->csr_abdicate; | ||
556 | card->csr_abdicate = false; | ||
555 | fw_schedule_bm_work(card, 0); | 557 | fw_schedule_bm_work(card, 0); |
556 | 558 | ||
557 | local_node = build_tree(card, self_ids, self_id_count); | 559 | local_node = build_tree(card, self_ids, self_id_count); |