Commit Graph

252 Commits

Author SHA1 Message Date
Kristian Høgsberg d9b43daf48 More work on iso receive; handle payload wrapping. 2007-04-02 17:33:07 -04:00
Kristian Høgsberg 89281b5767 Decode iso headers properly. 2007-03-31 19:45:39 -04:00
Kristian Høgsberg 429167e36a Get rawiso receive a little closer to working. 2007-03-28 22:55:21 -04:00
Kristian Høgsberg 5659d28c2d Add the juju support work so far. 2007-03-26 16:49:12 -04:00
ddennedy 1f1549c6ad add documentation about existence of RAW1394DEV
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@171 53a565d1-3bb7-0310-b661-cf11e63c67ab
2007-02-17 02:30:13 +00:00
ddennedy 4a129dd960 add support for RAW1394DEV environment variable to override default /dev/raw1394, but also attempt to failover to default.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@170 53a565d1-3bb7-0310-b661-cf11e63c67ab
2007-02-17 02:24:16 +00:00
ddennedy fa981a8b96 added raw1394_read_cycle_timer, contributed by Pieter Palmers
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@169 53a565d1-3bb7-0310-b661-cf11e63c67ab
2007-02-14 05:29:18 +00:00
ddennedy 3a35307a85 bugfix segfault in raw1394_iso_shutdown on no iso activity due to not initializing raw1394_handle.iso_packet_infos to NULL in raw1394_new_handle
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@168 53a565d1-3bb7-0310-b661-cf11e63c67ab
2006-10-17 03:39:37 +00:00
ddennedy e4e2330837 apply optimization patch from Pieter Palmers that removes modulo operator from high frequency isochronous code
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@167 53a565d1-3bb7-0310-b661-cf11e63c67ab
2006-05-09 04:27:38 +00:00
ddennedy 45503d30d3 cleanup some compiler warnings
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@165 53a565d1-3bb7-0310-b661-cf11e63c67ab
2006-04-09 02:25:22 +00:00
ddennedy e5d5603758 add release notes
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@164 53a565d1-3bb7-0310-b661-cf11e63c67ab
2006-04-09 02:18:47 +00:00
ddennedy 0b0ad6b10e lock allocated isochronous packet tracking memory
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@163 53a565d1-3bb7-0310-b661-cf11e63c67ab
2006-04-09 02:13:44 +00:00
ddennedy 9c74e4a295 remove memory allocations for isochronous operations from the libraw1394 event loop to make them more respectful of realtime applications
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@162 53a565d1-3bb7-0310-b661-cf11e63c67ab
2006-04-09 01:26:41 +00:00
ddennedy 96aaa4ca65 Added a new callback response for iso_xmit handlers: RAW1394_ISO_AGAIN.
This would be returned when the callback doesn't have enough data to
create a complete packet. This can occur when the xmit buffers are
bigger than the buffers supplying the data. It is not nescessarily an
error, because there are enough packets in the xmit buffer. This
response could give the data supplyer more time to fill the intermediate
buffer without losing any packets.

Signed-off-by: Pieter Palmers <pieterp@joow.be>
Signed-off-by: Dan Dennedy <dan@dennedy.org>


git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@161 53a565d1-3bb7-0310-b661-cf11e63c67ab
2006-03-04 01:17:46 +00:00
ddennedy a51052f41b Fix raw1394_iso_xmit_write() to work with recent kernel change to raw1394
to fix bug with stalling on buffer underrun.


git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@160 53a565d1-3bb7-0310-b661-cf11e63c67ab
2005-07-04 04:04:22 +00:00
ddennedy 1906551515 add sanity check to queuing of packets in rawiso xmit
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@159 53a565d1-3bb7-0310-b661-cf11e63c67ab
2005-07-04 03:00:50 +00:00
ddennedy 87941d01c4 Add a comment that libraw does not allocate channels and bandwidth. This
is already mentioned in doc/libraw1394.sgml but an existing comment about
raw1394_iso_xmit_init may be misleading.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>


git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@158 53a565d1-3bb7-0310-b661-cf11e63c67ab
2005-07-01 04:12:47 +00:00
ddennedy 202b68ef5b bugfix stalling on iso transmission underflow
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@156 53a565d1-3bb7-0310-b661-cf11e63c67ab
2005-06-23 17:09:33 +00:00
ddennedy 1c06177cd7 documentation and header comment corrections from Stefan Richter
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@155 53a565d1-3bb7-0310-b661-cf11e63c67ab
2005-06-02 18:30:57 +00:00
ddennedy 246f623e35 add functions for allocating and releasing bandwidth and channels
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@154 53a565d1-3bb7-0310-b661-cf11e63c67ab
2005-02-16 16:54:58 +00:00
ddennedy 9d07aaadda add comment about assumptions made in raw1394_get_port_info
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@152 53a565d1-3bb7-0310-b661-cf11e63c67ab
2004-11-26 16:30:44 +00:00
ddennedy 3de7e65109 apply patch from Matthias Hanel to fix uninitialized buffer and remove unncessary (and logically impossible) copy in get_port_info
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@151 53a565d1-3bb7-0310-b661-cf11e63c67ab
2004-11-25 18:46:29 +00:00
ddennedy 942638f8be improve reference documentation
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@150 53a565d1-3bb7-0310-b661-cf11e63c67ab
2004-11-25 18:01:57 +00:00
ddennedy 4276e9ee3c pkgconfig include path should not contain libraw1394
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@149 53a565d1-3bb7-0310-b661-cf11e63c67ab
2004-11-20 04:56:36 +00:00
ddennedy a07ba8cee9 bump version of isodump file
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@148 53a565d1-3bb7-0310-b661-cf11e63c67ab
2004-11-19 02:15:15 +00:00
ddennedy eb9b08bd5c port iso examples to rawiso API
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@147 53a565d1-3bb7-0310-b661-cf11e63c67ab
2004-11-18 05:24:13 +00:00
ddennedy d5902a8715 fix version and copyright in docs
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@146 53a565d1-3bb7-0310-b661-cf11e63c67ab
2004-11-11 03:49:07 +00:00
ddennedy c9d504c17c remove m4, remove -O2 from CFLAGS
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@145 53a565d1-3bb7-0310-b661-cf11e63c67ab
2004-11-11 03:31:20 +00:00
ddennedy 940fabaf39 reorganize and update documentation; fix compiler warning
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@144 53a565d1-3bb7-0310-b661-cf11e63c67ab
2004-11-11 03:19:09 +00:00
ddennedy dbfde4f174 revert kernel protocol version
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@143 53a565d1-3bb7-0310-b661-cf11e63c67ab
2004-10-31 01:06:20 +00:00
ddennedy c97bb4d5e6 fix make dist without doc
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@142 53a565d1-3bb7-0310-b661-cf11e63c67ab
2004-10-31 00:52:28 +00:00
ddennedy e0722bf46c nother doc update
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@141 53a565d1-3bb7-0310-b661-cf11e63c67ab
2004-10-30 22:56:25 +00:00
ddennedy ff3c421f8d bump versions, build fixes, and doc updates
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@140 53a565d1-3bb7-0310-b661-cf11e63c67ab
2004-10-30 22:49:27 +00:00
bencollins 6b2bee6aca Patch from Jim Radford. Other half of packet_per_buffer ABI cleanup.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@139 53a565d1-3bb7-0310-b661-cf11e63c67ab
2003-12-09 01:47:45 +00:00
bencollins 8fa3c9874b Patch from Alexander Neundorf to support differing ISO rx modes. Currently
supported only by OHCI.


git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@138 53a565d1-3bb7-0310-b661-cf11e63c67ab
2003-11-20 15:47:03 +00:00
weihs ff891d604b sync with driver
(addition of functions raw1394_arm_get_buf raw1394_arm_set_buf to get and set buffers of mapped address ranges)

git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@137 53a565d1-3bb7-0310-b661-cf11e63c67ab
2003-11-09 19:46:20 +00:00
weihs 30030e14aa sync with driver version of this file
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@136 53a565d1-3bb7-0310-b661-cf11e63c67ab
2003-11-09 19:44:11 +00:00
bencollins c4e056e164 Patch from Alexander Neundorf to add proto for raw1394_iso_recv_flush()
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@135 53a565d1-3bb7-0310-b661-cf11e63c67ab
2003-10-07 13:28:07 +00:00
bencollins c412fe45d2 Update for new version, 0.10.1.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@133 53a565d1-3bb7-0310-b661-cf11e63c67ab
2003-09-26 13:55:47 +00:00
bencollins 0072343aab Fixup async_stream to use same local req variable for reentrancy.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@132 53a565d1-3bb7-0310-b661-cf11e63c67ab
2003-09-26 13:51:31 +00:00
bencollins 2e8ba91c51 Fix postinst so device node gets created.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@131 53a565d1-3bb7-0310-b661-cf11e63c67ab
2003-09-26 13:35:59 +00:00
bencollins e89e0feee4 Async stream support from Jim Radford.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@130 53a565d1-3bb7-0310-b661-cf11e63c67ab
2003-09-11 02:47:22 +00:00
bencollins 2d36fc10b2 Increase so maj/age so account for new recv-flush call.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@129 53a565d1-3bb7-0310-b661-cf11e63c67ab
2003-07-22 15:02:12 +00:00
bencollins ec749d4a02 Patch from Stephen Tiedemann to allow reentrancy in raw1394's usage of
raw1394_request's.


git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@128 53a565d1-3bb7-0310-b661-cf11e63c67ab
2003-07-22 14:54:19 +00:00
bencollins ce14ef3b9e Patch from Dan Maas to add raw1394_iso_recv_flush() call to API, using the
RAW1394_IOC_ISO_RECV_FLUSH ioctl. Updated the ieee1394-ioctl.h file
aswell.


git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@127 53a565d1-3bb7-0310-b661-cf11e63c67ab
2003-07-17 17:33:39 +00:00
bencollins 531c6b405c pkg-config support from Kristian Hogsberg.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@126 53a565d1-3bb7-0310-b661-cf11e63c67ab
2003-07-17 17:28:56 +00:00
bencollins 441945b498 Remove trailing whitespace, which automake chokes on.
Patch from Manish Singh.


git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@125 53a565d1-3bb7-0310-b661-cf11e63c67ab
2003-07-17 17:26:09 +00:00
bencollins bfc01aa141 Fixed section for -dev package.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@124 53a565d1-3bb7-0310-b661-cf11e63c67ab
2003-07-13 05:34:30 +00:00
bencollins 85a071ce64 Re-add the pdf build
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@121 53a565d1-3bb7-0310-b661-cf11e63c67ab
2003-07-13 01:45:05 +00:00
bencollins f2f611bb61 Update Debian files.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@120 53a565d1-3bb7-0310-b661-cf11e63c67ab
2003-07-13 01:40:37 +00:00