Stefan Richter
788442d403
[libraw1394 patch] Fix raw1394_channel_modify() on firewire-core
...
(juju)
Reported by Adrian Knoth: fw_channel_modify() was unable to allocate
some channels which were actually free.
http://marc.info/?l=linux1394-devel&t=122818128900002
This can be easily fixed by replacing fw_channel_modify() by
ieee1394_channel_modify() because this is highlevel enough to work with
Juju as well. We only may want a separate fw_channel_modify() in the
future when firewire-core gains a special ioctl() for that.
Also fix a documentation typo: raw1394_channel_modify() did not show up
in extracted API documentation due to a cut'n'paste typo in raw1394.h.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Dan Dennedy <dan@dennedy.org>
2008-12-03 19:56:32 -08:00
Dan Dennedy
8f942654d9
Change handle validation to prevent segfault and be more informative.
2008-07-06 12:06:40 -07:00
Stefan Richter
4ce429a797
Fix raw1394_read_cycle_timer after juju integration
...
The ieee1394 version of raw1394_read_cycle_timer() fell over the cliff
in "First cut at integrating juju". This brings it back and adds a juju
version of it.
Also correct a typo in the inline documentation: s/get/read/
2008-07-05 13:16:30 -07:00
Dan Dennedy
3b4d2eed60
libraw1394.sgml, raw1394.h: remove information about deprecated isochronous
...
API that has been removed.
2008-04-29 23:09:22 -07:00
Dan Dennedy
0ea462ae98
First cut at integrating juju
...
This is currently working with legacy ieee1394 and tools/testlibraw.
2008-04-23 17:44:36 -07:00
ddennedy
77b6ef1f9e
fix documentation on raw1394_update_config_rom
...
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@175 53a565d1-3bb7-0310-b661-cf11e63c67ab
2007-10-14 01:46:08 +00: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
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
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
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
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
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
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
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
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
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
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
dmaas
081780c175
add raw1394_new_handle_on_port() convenience function
...
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@104 53a565d1-3bb7-0310-b661-cf11e63c67ab
2003-03-26 22:48:46 +00:00
dmaas
2ecf31c96d
add iso_xmit_sync() and iso_xmit_write(); clean up iso handling a bit
...
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@102 53a565d1-3bb7-0310-b661-cf11e63c67ab
2003-01-15 13:14:47 +00:00
dmaas
e6e6375cee
implement tag matching for rawiso reception
...
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@101 53a565d1-3bb7-0310-b661-cf11e63c67ab
2003-01-15 06:36:19 +00:00
dmaas
385413d23e
update iso API for multi-channel reception and new packet buffer layout
...
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@98 53a565d1-3bb7-0310-b661-cf11e63c67ab
2002-12-24 03:01:11 +00:00
anonymous
81c7e99499
dmaas - renamed exported arm definitions into the raw1394_ namespace; brought kernel-raw1394.h back in sync with the kernel version
...
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@96 53a565d1-3bb7-0310-b661-cf11e63c67ab
2002-12-20 07:26:18 +00:00
dmaas
e01decd75c
rawiso updates:
...
- changed return type of rawiso xmit/recv handlers from int to
enum raw1394_iso_disposition
- added an ioctl (RAW1394_ISO_QUEUE_ACTIVITY) to force an ISO_ACTIVITY
event into the queue. This is needed for handling RAW1394_ISO_DEFER,
to kick us out of the next read() instead of sleeping forever.
- removed references to "8-byte" isochronous header - this is an
OHCI-specific implementation detail
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@95 53a565d1-3bb7-0310-b661-cf11e63c67ab
2002-12-16 05:11:45 +00:00
ddennedy
45112de225
fix cplusplus extern C block
...
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@94 53a565d1-3bb7-0310-b661-cf11e63c67ab
2002-11-18 15:30:52 +00:00
ddennedy
b9de121a85
merged rawiso branch
...
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@93 53a565d1-3bb7-0310-b661-cf11e63c67ab
2002-11-18 07:40:21 +00:00
ddennedy
915a20a96f
merged weihs branch
...
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@84 53a565d1-3bb7-0310-b661-cf11e63c67ab
2002-10-23 21:18:49 +00:00
aeb
b0332cb93e
Add kernel-doc style documentation headers for most exported functions.
...
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@81 53a565d1-3bb7-0310-b661-cf11e63c67ab
2002-10-13 22:54:49 +00:00
aeb
e02dee488a
Handle generation number is not automatically advanced with bus reset.
...
Function raw1394_update_generation() added for manual update.
Bus reset handler get current generation number as argument.
Default bus reset handler calls raw1394_update_generation().
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@60 53a565d1-3bb7-0310-b661-cf11e63c67ab
2001-05-14 01:05:58 +00:00
aeb
6fc01c2077
Add libraw1394 autoconf macro (not yet complete).
...
Add functions and symbols to let macro determine version.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@53 53a565d1-3bb7-0310-b661-cf11e63c67ab
2001-02-05 02:38:03 +00:00
aeb
de323c4338
Put 'extern "C"' for C++ back in.
...
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@52 53a565d1-3bb7-0310-b661-cf11e63c67ab
2001-01-31 23:38:15 +00:00
aeb
e6015ce5e9
First implementation of new error reporting API.
...
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@49 53a565d1-3bb7-0310-b661-cf11e63c67ab
2001-01-19 01:11:48 +00:00
aeb
a0c8e92cf4
Added missing prototypes for iso send functions.
...
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@36 53a565d1-3bb7-0310-b661-cf11e63c67ab
2000-09-01 15:15:57 +00:00
aeb
1a91281532
Added raw1394_get_irm_id().
...
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@35 53a565d1-3bb7-0310-b661-cf11e63c67ab
2000-08-08 00:29:08 +00:00
aeb
c1e3916f70
Added raw1394_reset_bus() call.
...
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@33 53a565d1-3bb7-0310-b661-cf11e63c67ab
2000-07-05 20:40:51 +00:00
aeb
9812e4136b
Fixed lock transaction to actually return response value.
...
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@24 53a565d1-3bb7-0310-b661-cf11e63c67ab
2000-04-15 00:33:26 +00:00
aeb
47a2d6953a
Add userdata functions.
...
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@22 53a565d1-3bb7-0310-b661-cf11e63c67ab
2000-04-05 22:41:31 +00:00
aeb
d6015263be
Fix spelign of raw1394_set_fcp_handler().
...
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@13 53a565d1-3bb7-0310-b661-cf11e63c67ab
2000-03-16 03:59:53 +00:00
aeb
227464b31c
Added FCP listen functionality.
...
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@12 53a565d1-3bb7-0310-b661-cf11e63c67ab
2000-03-16 03:40:52 +00:00
aeb
51b856d8c6
Renamed 'new' args to 'new_h' for C++ compatibility.
...
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@9 53a565d1-3bb7-0310-b661-cf11e63c67ab
2000-03-12 03:59:45 +00:00
abombe
c4d75933cb
Added lock transaction.
...
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@7 53a565d1-3bb7-0310-b661-cf11e63c67ab
2000-02-06 15:10:14 +00:00
abombe
9eb8df1247
Changed iso rcv handling to separate handlers per channel.
...
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@6 53a565d1-3bb7-0310-b661-cf11e63c67ab
2000-02-04 23:20:17 +00:00
abombe
04f65912c3
Added isochronous I/O support
...
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@4 53a565d1-3bb7-0310-b661-cf11e63c67ab
1999-12-29 22:24:32 +00:00
abombe
48ef2e9475
Added prototypes for async write functions
...
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@2 53a565d1-3bb7-0310-b661-cf11e63c67ab
1999-12-15 22:31:20 +00:00
abombe
0f5ef10baa
Initial revision
...
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@1 53a565d1-3bb7-0310-b661-cf11e63c67ab
1999-12-02 23:07:38 +00:00