libdc1394 2.2.7
|
#include <dc1394/juju/firewire-cdev.h>
struct fw_cdev_add_descriptor - Add contents to the local node's config ROM @immediate: If non-zero, immediate key to insert before pointer @key: Upper 8 bits of root directory pointer @data: Userspace pointer to contents of descriptor block @length: Length of descriptor block data, in quadlets @handle: Handle to the descriptor, written by the kernel
Add a descriptor block and optionally a preceding immediate key to the local node's configuration ROM.
The @key field specifies the upper 8 bits of the descriptor root directory pointer and the @data and @length fields specify the contents. The @key should be of the form 0xXX000000. The offset part of the root directory entry will be filled in by the kernel.
If not 0, the @immediate field specifies an immediate key which will be inserted before the root directory pointer.
@immediate, @key, and @data array elements are CPU-endian quadlets.
If successful, the kernel adds the descriptor and writes back a handle to the kernel-side object to be used for later removal of the descriptor block and immediate key.
This ioctl affects the configuration ROMs of all local nodes. The ioctl only succeeds on device files which represent a local node.