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

#include <ipack.h>

Data Fields

unsigned int bus_nr
 
unsigned int slot
 
struct ipack_bus_devicebus
 
struct ipack_addr_space id_space
 
struct ipack_addr_space io_space
 
struct ipack_addr_space int_space
 
struct ipack_addr_space mem_space
 
struct device dev
 
u8id
 
size_t id_avail
 
u32 id_vendor
 
u32 id_device
 
u8 id_format
 
unsigned int id_crc_correct:1
 
unsigned int speed_8mhz:1
 
unsigned int speed_32mhz:1
 

Detailed Description

struct ipack_device

: IP bus number where the device is plugged : Slot where the device is plugged in the carrier board : ipack_bus_device where the device is plugged to. : Virtual address to ID space. : Virtual address to IO space. : Virtual address to MEM space. : device in kernel representation.

Warning: Direct access to mapped memory is possible but the endianness is not the same with PCI carrier or VME carrier. The endianness is managed by the carrier board throught bus->ops.

Definition at line 67 of file ipack.h.

Field Documentation

Definition at line 70 of file ipack.h.

unsigned int bus_nr

Definition at line 68 of file ipack.h.

Definition at line 75 of file ipack.h.

u8* id

Definition at line 76 of file ipack.h.

size_t id_avail

Definition at line 77 of file ipack.h.

unsigned int id_crc_correct

Definition at line 81 of file ipack.h.

u32 id_device

Definition at line 79 of file ipack.h.

u8 id_format

Definition at line 80 of file ipack.h.

Definition at line 71 of file ipack.h.

u32 id_vendor

Definition at line 78 of file ipack.h.

Definition at line 73 of file ipack.h.

Definition at line 72 of file ipack.h.

Definition at line 74 of file ipack.h.

unsigned int slot

Definition at line 69 of file ipack.h.

unsigned int speed_32mhz

Definition at line 83 of file ipack.h.

unsigned int speed_8mhz

Definition at line 82 of file ipack.h.


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