aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-transaction.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firewire/fw-transaction.c')
-rw-r--r--drivers/firewire/fw-transaction.c8
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
277void fw_send_force_root(struct fw_card *card, int node_id, int generation) 277void 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