aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ieee1394
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2007-04-23 15:27:13 -0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-04-29 18:00:30 -0400
commitea9057ad622db41745be416e29c5760d141a6514 (patch)
tree466352f39f3090d514c299970d30ac98585e9c78 /drivers/ieee1394
parentdf18ce85de3deeaf311f96eb3d47e45fc7050f87 (diff)
ieee1394: send async streams at S100
The comment says it all. This affects only asynchronous streams sent via raw1394; the eth1394 driver has own code and needs an own fix. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/ieee1394')
-rw-r--r--drivers/ieee1394/ieee1394_transactions.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/ieee1394/ieee1394_transactions.c b/drivers/ieee1394/ieee1394_transactions.c
index f144133df99e..40078ce930c8 100644
--- a/drivers/ieee1394/ieee1394_transactions.c
+++ b/drivers/ieee1394/ieee1394_transactions.c
@@ -378,6 +378,13 @@ struct hpsb_packet *hpsb_make_streampacket(struct hpsb_host *host, u8 * buffer,
378 } 378 }
379 packet->host = host; 379 packet->host = host;
380 380
381 /* Because it is too difficult to determine all PHY speeds and link
382 * speeds here, we use S100... */
383 packet->speed_code = IEEE1394_SPEED_100;
384
385 /* ...and prevent hpsb_send_packet() from overriding it. */
386 packet->node_id = LOCAL_BUS | ALL_NODES;
387
381 if (hpsb_get_tlabel(packet)) { 388 if (hpsb_get_tlabel(packet)) {
382 hpsb_free_packet(packet); 389 hpsb_free_packet(packet);
383 return NULL; 390 return NULL;