summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorGravatar Stefan Richter 2012-06-30 18:49:43 +0200
committerGravatar Stefan Richter 2012-06-30 19:02:20 +0200
commitd50f7381b21e6f720b49464de1c2886950115c9c (patch)
tree0c7a0f60a9183956f73143dc52c744ae1eb1c1cd /debian
parentTrivial whitespace normalization in ieee1394.h and raw1394.h (diff)
Add raw1394_get_speed() API
This lets initiators of isochronous streams or asynchronous streams from or to the local node figure out what maximum speed can be configured. Furthermore it can be used to display connection speeds for informative purposes without having to perform topology analysis (in case of 1394a buses) or extensive phy port status queries (in case of 1394b buses). To be in line with other existing libraw1394 APIs which use nodeid_t variables, this API identifies a node only via a card:nodeID tuple which is unsafe against generation changes. A node can only be properly identified by card:generation:nodeID tuples. However, since this new API extension and libraw1394 as a whole is mainly aimed towards existing libraw1394 client code bases rather than new developments, I decided against making this call race free but somewhat more difficult to use in typical existing client code. A unit test for the new call is added to testlibraw as well. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'debian')
0 files changed, 0 insertions, 0 deletions