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 16:02:44 -0500 |
commit | 83db801ce8c644edee49f4364c7ebdfef1657762 (patch) | |
tree | 8180198c618d78ce7b774951ffa4e1a6d553a7e1 /drivers/firewire/fw-transaction.c | |
parent | cfb01381f4ffcd05aefe76c74911ba6bc996e8ba (diff) |
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) | |||
274 | card->driver->send_request(card, packet); | 274 | card->driver->send_request(card, packet); |
275 | } | 275 | } |
276 | 276 | ||
277 | void fw_send_force_root(struct fw_card *card, int node_id, int generation) | 277 | void fw_send_phy_config(struct fw_card *card, |
278 | int node_id, int generation, int gap_count) | ||
278 | { | 279 | { |
279 | u32 q; | 280 | u32 q; |
280 | 281 | ||
281 | q = phy_identifier(PHY_PACKET_CONFIG) | phy_config_root_id(node_id); | 282 | q = phy_identifier(PHY_PACKET_CONFIG) | |
283 | phy_config_root_id(node_id) | | ||
284 | phy_config_gap_count(gap_count); | ||
285 | |||
282 | send_phy_packet(card, q, generation); | 286 | send_phy_packet(card, q, generation); |
283 | } | 287 | } |
284 | 288 | ||