diff options
author | Kristian Høgsberg <krh@localhost.localdomain> | 2007-01-26 00:37:50 -0500 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-03-09 22:02:44 +0100 |
commit | 83db801ce8c644edee49f4364c7ebdfef1657762 (patch) | |
tree | 8180198c618d78ce7b774951ffa4e1a6d553a7e1 /drivers/firewire/fw-transaction.c | |
parent | cfb01381f4ffcd05aefe76c74911ba6bc996e8ba (diff) | |
download | lwn-83db801ce8c644edee49f4364c7ebdfef1657762.tar.gz lwn-83db801ce8c644edee49f4364c7ebdfef1657762.zip |
firewire: Implement gap count optimization.
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/fw-transaction.c')
-rw-r--r-- | drivers/firewire/fw-transaction.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/firewire/fw-transaction.c b/drivers/firewire/fw-transaction.c index 439a3e3ee2f0..57ecf95e5271 100644 --- a/drivers/firewire/fw-transaction.c +++ b/drivers/firewire/fw-transaction.c @@ -274,11 +274,15 @@ static void send_phy_packet(struct fw_card *card, u32 data, int generation) card->driver->send_request(card, packet); } -void fw_send_force_root(struct fw_card *card, int node_id, int generation) +void fw_send_phy_config(struct fw_card *card, + int node_id, int generation, int gap_count) { u32 q; - q = phy_identifier(PHY_PACKET_CONFIG) | phy_config_root_id(node_id); + q = phy_identifier(PHY_PACKET_CONFIG) | + phy_config_root_id(node_id) | + phy_config_gap_count(gap_count); + send_phy_packet(card, q, generation); } |