summaryrefslogtreecommitdiffstats
path: root/src/raw1394.h
diff options
context:
space:
mode:
authorGravatar bencollins 2003-11-20 15:47:03 +0000
committerGravatar bencollins 2003-11-20 15:47:03 +0000
commit8fa3c9874b4d3315229495ae9c8077bf2260807a (patch)
tree0e619e10d81b90fa8b0f451ae25662c51a6c81b2 /src/raw1394.h
parentsync with driver (diff)
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
Diffstat (limited to '')
-rw-r--r--src/raw1394.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/raw1394.h b/src/raw1394.h
index 997a99a..3cc7bfe 100644
--- a/src/raw1394.h
+++ b/src/raw1394.h
@@ -55,6 +55,13 @@ enum raw1394_iso_speed {
RAW1394_ISO_SPEED_400 = 2,
};
+/* The dma mode when receiving iso data. Must be supported by chipset */
+enum raw1394_iso_dma_recv_mode {
+ RAW1394_DMA_DEFAULT = 0, /* use the default mode, this is BUFFERFILL for ohci */
+ RAW1394_DMA_BUFFERFILL = 1, /* BUFFER_FILL mode */
+ RAW1394_DMA_PACKET_PER_BUFFER = 2 /* PACKET_PER_BUFFER mode */
+};
+
/* return values from isochronous xmit/recv handlers */
enum raw1394_iso_disposition {
@@ -110,6 +117,7 @@ int raw1394_iso_recv_init(raw1394handle_t handle,
unsigned int buf_packets,
unsigned int max_packet_size,
unsigned char channel,
+ enum raw1394_iso_dma_recv_mode mode,
int irq_interval);
int raw1394_iso_multichannel_recv_init(raw1394handle_t handle,