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

#include <firewire-cdev.h>

Data Fields

__u32 version
 
__u32 rom_length
 
__u64 rom
 
__u64 bus_reset
 
__u64 bus_reset_closure
 
__u32 card
 

Detailed Description

struct fw_cdev_get_info - General purpose information ioctl

Version
: The version field is just a running serial number. Both an input parameter (ABI version implemented by the client) and output parameter (ABI version implemented by the kernel). A client shall fill in the ABI
for which the client was implemented. This is necessary for forward compatibility. : If is non-zero, up to bytes of Configuration ROM will be copied into that user space address. In either case, is updated with the actual length of the Configuration ROM. : If non-zero, address of a buffer to be filled by a copy of the device's Configuration ROM : If non-zero, address of a buffer to be filled by a &struct fw_cdev_event_bus_reset with the current state of the bus. This does not cause a bus reset to happen. : Value of &closure in this and subsequent bus reset events : The index of the card this device belongs to

The FW_CDEV_IOC_GET_INFO ioctl is usually the very first one which a client performs right after it opened a /dev/fw* file.

As a side effect, reception of FW_CDEV_EVENT_BUS_RESET events to be read(2) is started by this ioctl.

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

Field Documentation

__u64 bus_reset

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

__u64 bus_reset_closure

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

__u32 card

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

__u64 rom

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

__u32 rom_length

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

__u32 version

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


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