Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
fc_ms.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  fc_fdmi_hba_identifier
 
struct  fc_fdmi_port_name
 
struct  fc_fdmi_attr_entry
 
struct  fs_fdmi_attrs
 
struct  fc_fdmi_rpl
 
struct  fc_fdmi_rhba
 
struct  fc_fdmi_rhat
 
struct  fc_fdmi_rprt
 
struct  fc_fdmi_rpa
 
struct  fc_fdmi_dprt
 
struct  fc_fdmi_dpa
 
struct  fc_fdmi_dhat
 
struct  fc_fdmi_dhba
 

Macros

#define FC_FDMI_SUBTYPE   0x10 /* fs_ct_hdr.ct_fs_subtype */
 
#define FC_FDMI_HBA_ATTR_NODENAME_LEN   8
 
#define FC_FDMI_HBA_ATTR_MANUFACTURER_LEN   64
 
#define FC_FDMI_HBA_ATTR_SERIALNUMBER_LEN   64
 
#define FC_FDMI_HBA_ATTR_MODEL_LEN   256
 
#define FC_FDMI_HBA_ATTR_MODELDESCR_LEN   256
 
#define FC_FDMI_HBA_ATTR_HARDWAREVERSION_LEN   256
 
#define FC_FDMI_HBA_ATTR_DRIVERVERSION_LEN   256
 
#define FC_FDMI_HBA_ATTR_OPTIONROMVERSION_LEN   256
 
#define FC_FDMI_HBA_ATTR_FIRMWAREVERSION_LEN   256
 
#define FC_FDMI_HBA_ATTR_OSNAMEVERSION_LEN   256
 
#define FC_FDMI_HBA_ATTR_MAXCTPAYLOAD_LEN   4
 
#define FC_FDMI_PORT_ATTR_FC4TYPES_LEN   32
 
#define FC_FDMI_PORT_ATTR_SUPPORTEDSPEED_LEN   4
 
#define FC_FDMI_PORT_ATTR_CURRENTPORTSPEED_LEN   4
 
#define FC_FDMI_PORT_ATTR_MAXFRAMESIZE_LEN   4
 
#define FC_FDMI_PORT_ATTR_OSDEVICENAME_LEN   256
 
#define FC_FDMI_PORT_ATTR_HOSTNAME_LEN   256
 
#define FC_FDMI_ATTR_ENTRY_HEADER_LEN   4
 

Enumerations

enum  fc_fdmi_req {
  FC_FDMI_GRHL = 0x0100, FC_FDMI_GHAT = 0x0101, FC_FDMI_GRPL = 0x0102, FC_FDMI_GPAT = 0x0110,
  FC_FDMI_RHBA = 0x0200, FC_FDMI_RHAT = 0x0201, FC_FDMI_RPRT = 0x0210, FC_FDMI_RPA = 0x0211,
  FC_FDMI_DHBA = 0x0300, FC_FDMI_DHAT = 0x0301, FC_FDMI_DPRT = 0x0310, FC_FDMI_DPA = 0x0311
}
 
enum  fc_fdmi_hba_attr_type {
  FC_FDMI_HBA_ATTR_NODENAME = 0x0001, FC_FDMI_HBA_ATTR_MANUFACTURER = 0x0002, FC_FDMI_HBA_ATTR_SERIALNUMBER = 0x0003, FC_FDMI_HBA_ATTR_MODEL = 0x0004,
  FC_FDMI_HBA_ATTR_MODELDESCRIPTION = 0x0005, FC_FDMI_HBA_ATTR_HARDWAREVERSION = 0x0006, FC_FDMI_HBA_ATTR_DRIVERVERSION = 0x0007, FC_FDMI_HBA_ATTR_OPTIONROMVERSION = 0x0008,
  FC_FDMI_HBA_ATTR_FIRMWAREVERSION = 0x0009, FC_FDMI_HBA_ATTR_OSNAMEVERSION = 0x000A, FC_FDMI_HBA_ATTR_MAXCTPAYLOAD = 0x000B
}
 
enum  fc_fdmi_port_attr_type {
  FC_FDMI_PORT_ATTR_FC4TYPES = 0x0001, FC_FDMI_PORT_ATTR_SUPPORTEDSPEED = 0x0002, FC_FDMI_PORT_ATTR_CURRENTPORTSPEED = 0x0003, FC_FDMI_PORT_ATTR_MAXFRAMESIZE = 0x0004,
  FC_FDMI_PORT_ATTR_OSDEVICENAME = 0x0005, FC_FDMI_PORT_ATTR_HOSTNAME = 0x0006
}
 

Functions

struct fc_fdmi_attr_entry __attribute__ ((__packed__))
 

Variables

__be16 type
 
__be16 len
 
__u8 value [1]
 
__be32 numattrs
 
struct fc_fdmi_attr_entry attr [1]
 
__be32 numport
 
struct fc_fdmi_port_name port [1]
 
struct fc_fdmi_hba_identifier hbaid
 
struct fs_fdmi_attrs hba_attrs
 

Macro Definition Documentation

#define FC_FDMI_ATTR_ENTRY_HEADER_LEN   4

Definition at line 127 of file fc_ms.h.

#define FC_FDMI_HBA_ATTR_DRIVERVERSION_LEN   256

Definition at line 82 of file fc_ms.h.

#define FC_FDMI_HBA_ATTR_FIRMWAREVERSION_LEN   256

Definition at line 84 of file fc_ms.h.

#define FC_FDMI_HBA_ATTR_HARDWAREVERSION_LEN   256

Definition at line 81 of file fc_ms.h.

#define FC_FDMI_HBA_ATTR_MANUFACTURER_LEN   64

Definition at line 77 of file fc_ms.h.

#define FC_FDMI_HBA_ATTR_MAXCTPAYLOAD_LEN   4

Definition at line 86 of file fc_ms.h.

#define FC_FDMI_HBA_ATTR_MODEL_LEN   256

Definition at line 79 of file fc_ms.h.

#define FC_FDMI_HBA_ATTR_MODELDESCR_LEN   256

Definition at line 80 of file fc_ms.h.

#define FC_FDMI_HBA_ATTR_NODENAME_LEN   8

Definition at line 76 of file fc_ms.h.

#define FC_FDMI_HBA_ATTR_OPTIONROMVERSION_LEN   256

Definition at line 83 of file fc_ms.h.

#define FC_FDMI_HBA_ATTR_OSNAMEVERSION_LEN   256

Definition at line 85 of file fc_ms.h.

#define FC_FDMI_HBA_ATTR_SERIALNUMBER_LEN   64

Definition at line 78 of file fc_ms.h.

#define FC_FDMI_PORT_ATTR_CURRENTPORTSPEED_LEN   4

Definition at line 105 of file fc_ms.h.

#define FC_FDMI_PORT_ATTR_FC4TYPES_LEN   32

Definition at line 103 of file fc_ms.h.

#define FC_FDMI_PORT_ATTR_HOSTNAME_LEN   256

Definition at line 108 of file fc_ms.h.

#define FC_FDMI_PORT_ATTR_MAXFRAMESIZE_LEN   4

Definition at line 106 of file fc_ms.h.

#define FC_FDMI_PORT_ATTR_OSDEVICENAME_LEN   256

Definition at line 107 of file fc_ms.h.

#define FC_FDMI_PORT_ATTR_SUPPORTEDSPEED_LEN   4

Definition at line 104 of file fc_ms.h.

#define FC_FDMI_SUBTYPE   0x10 /* fs_ct_hdr.ct_fs_subtype */

Definition at line 36 of file fc_ms.h.

Enumeration Type Documentation

Enumerator:
FC_FDMI_HBA_ATTR_NODENAME 
FC_FDMI_HBA_ATTR_MANUFACTURER 
FC_FDMI_HBA_ATTR_SERIALNUMBER 
FC_FDMI_HBA_ATTR_MODEL 
FC_FDMI_HBA_ATTR_MODELDESCRIPTION 
FC_FDMI_HBA_ATTR_HARDWAREVERSION 
FC_FDMI_HBA_ATTR_DRIVERVERSION 
FC_FDMI_HBA_ATTR_OPTIONROMVERSION 
FC_FDMI_HBA_ATTR_FIRMWAREVERSION 
FC_FDMI_HBA_ATTR_OSNAMEVERSION 
FC_FDMI_HBA_ATTR_MAXCTPAYLOAD 

Definition at line 59 of file fc_ms.h.

Enumerator:
FC_FDMI_PORT_ATTR_FC4TYPES 
FC_FDMI_PORT_ATTR_SUPPORTEDSPEED 
FC_FDMI_PORT_ATTR_CURRENTPORTSPEED 
FC_FDMI_PORT_ATTR_MAXFRAMESIZE 
FC_FDMI_PORT_ATTR_OSDEVICENAME 
FC_FDMI_PORT_ATTR_HOSTNAME 

Definition at line 91 of file fc_ms.h.

Enumerator:
FC_FDMI_GRHL 
FC_FDMI_GHAT 
FC_FDMI_GRPL 
FC_FDMI_GPAT 
FC_FDMI_RHBA 
FC_FDMI_RHAT 
FC_FDMI_RPRT 
FC_FDMI_RPA 
FC_FDMI_DHBA 
FC_FDMI_DHAT 
FC_FDMI_DPRT 
FC_FDMI_DPA 

Definition at line 41 of file fc_ms.h.

Function Documentation

struct fc_fdmi_attr_entry __attribute__ ( (__packed__)  )
read

Definition at line 85 of file mpc512x_dma.c.

Variable Documentation

Definition at line 142 of file fc_ms.h.

struct fs_fdmi_attrs hba_attrs

Definition at line 160 of file fc_ms.h.

Definition at line 158 of file fc_ms.h.

__be16 len

Definition at line 134 of file fc_ms.h.

__be32 numattrs

Definition at line 141 of file fc_ms.h.

__be32 numport

Definition at line 149 of file fc_ms.h.

Definition at line 150 of file fc_ms.h.

Definition at line 133 of file fc_ms.h.

__u8 value[1]

Definition at line 135 of file fc_ms.h.