sync with driver version of this file

git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@136 53a565d1-3bb7-0310-b661-cf11e63c67ab
This commit is contained in:
weihs 2003-11-09 19:44:11 +00:00
parent c4e056e164
commit 30030e14aa
1 changed files with 6 additions and 2 deletions

View File

@ -60,9 +60,13 @@
_IOWR('#', 0x14, struct video1394_mmap) _IOWR('#', 0x14, struct video1394_mmap)
#define VIDEO1394_IOC_UNTALK_CHANNEL \ #define VIDEO1394_IOC_UNTALK_CHANNEL \
_IOW ('#', 0x15, int) _IOW ('#', 0x15, int)
/*
* This one is broken: it really wanted
* "sizeof (struct video1394_wait) + sizeof (struct video1394_queue_variable)"
* but got just a "size_t"
*/
#define VIDEO1394_IOC_TALK_QUEUE_BUFFER \ #define VIDEO1394_IOC_TALK_QUEUE_BUFFER \
_IOW ('#', 0x16, sizeof (struct video1394_wait) + \ _IOW ('#', 0x16, size_t)
sizeof (struct video1394_queue_variable))
#define VIDEO1394_IOC_TALK_WAIT_BUFFER \ #define VIDEO1394_IOC_TALK_WAIT_BUFFER \
_IOW ('#', 0x17, struct video1394_wait) _IOW ('#', 0x17, struct video1394_wait)
#define VIDEO1394_IOC_LISTEN_POLL_BUFFER \ #define VIDEO1394_IOC_LISTEN_POLL_BUFFER \