Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
fw_cdev_add_descriptor Struct Reference

#include <firewire-cdev.h>

Data Fields

__u32 immediate
 
__u32 key
 
__u64 data
 
__u32 length
 
__u32 handle
 

Detailed Description

struct fw_cdev_add_descriptor - Add contents to the local node's config ROM : If non-zero, immediate key to insert before pointer : Upper 8 bits of root directory pointer : Userspace pointer to contents of descriptor block : Length of descriptor block data, in quadlets : 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 field specifies the upper 8 bits of the descriptor root directory pointer and the and fields specify the contents. The 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 field specifies an immediate key which will be inserted before the root directory pointer.

, , and array elements are CPU-endian quadlets.

If successful, the kernel adds the descriptor and writes back a to the kernel-side object to be used for later removal of the descriptor block and immediate key. The kernel will also generate a bus reset to signal the change of the Configuration ROM to other nodes.

This ioctl affects the Configuration ROMs of all local nodes. The ioctl only succeeds on device files which represent a local node.

Definition at line 637 of file firewire-cdev.h.

Field Documentation

Definition at line 640 of file firewire-cdev.h.

Definition at line 642 of file firewire-cdev.h.

__u32 immediate

Definition at line 638 of file firewire-cdev.h.

__u32 key

Definition at line 639 of file firewire-cdev.h.

__u32 length

Definition at line 641 of file firewire-cdev.h.


The documentation for this struct was generated from the following file: