Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
scsi_bsg_fc.h File Reference

Go to the source code of this file.

Data Structures

struct  fc_bsg_host_add_rport
 
struct  fc_bsg_host_del_rport
 
struct  fc_bsg_host_els
 
struct  fc_bsg_ctels_reply
 
struct  fc_bsg_host_ct
 
struct  fc_bsg_host_vendor
 
struct  fc_bsg_host_vendor_reply
 
struct  fc_bsg_rport_els
 
struct  fc_bsg_rport_ct
 
struct  fc_bsg_request
 
struct  fc_bsg_reply
 

Macros

#define FC_DEFAULT_BSG_TIMEOUT   (10 * HZ)
 
#define FC_BSG_CLS_MASK   0xF0000000 /* find object class */
 
#define FC_BSG_HST_MASK   0x80000000 /* fc host class */
 
#define FC_BSG_RPT_MASK   0x40000000 /* fc rport class */
 
#define FC_BSG_HST_ADD_RPORT   (FC_BSG_HST_MASK | 0x00000001)
 
#define FC_BSG_HST_DEL_RPORT   (FC_BSG_HST_MASK | 0x00000002)
 
#define FC_BSG_HST_ELS_NOLOGIN   (FC_BSG_HST_MASK | 0x00000003)
 
#define FC_BSG_HST_CT   (FC_BSG_HST_MASK | 0x00000004)
 
#define FC_BSG_HST_VENDOR   (FC_BSG_HST_MASK | 0x000000FF)
 
#define FC_BSG_RPT_ELS   (FC_BSG_RPT_MASK | 0x00000001)
 
#define FC_BSG_RPT_CT   (FC_BSG_RPT_MASK | 0x00000002)
 
#define FC_CTELS_STATUS_OK   0x00000000
 
#define FC_CTELS_STATUS_REJECT   0x00000001
 
#define FC_CTELS_STATUS_P_RJT   0x00000002
 
#define FC_CTELS_STATUS_F_RJT   0x00000003
 
#define FC_CTELS_STATUS_P_BSY   0x00000004
 
#define FC_CTELS_STATUS_F_BSY   0x00000006
 

Functions

struct fc_bsg_request __attribute__ ((packed))
 

Variables

uint32_t msgcode
 
union {
   struct fc_bsg_host_add_rport   h_addrport
 
   struct fc_bsg_host_del_rport   h_delrport
 
   struct fc_bsg_host_els   h_els
 
   struct fc_bsg_host_ct   h_ct
 
   struct fc_bsg_host_vendor   h_vendor
 
   struct fc_bsg_rport_els   r_els
 
   struct fc_bsg_rport_ct   r_ct
 
rqst_data
 
struct fc_bsg_reply __attribute__
 

Macro Definition Documentation

#define FC_BSG_CLS_MASK   0xF0000000 /* find object class */

Definition at line 42 of file scsi_bsg_fc.h.

#define FC_BSG_HST_ADD_RPORT   (FC_BSG_HST_MASK | 0x00000001)

Definition at line 47 of file scsi_bsg_fc.h.

#define FC_BSG_HST_CT   (FC_BSG_HST_MASK | 0x00000004)

Definition at line 50 of file scsi_bsg_fc.h.

#define FC_BSG_HST_DEL_RPORT   (FC_BSG_HST_MASK | 0x00000002)

Definition at line 48 of file scsi_bsg_fc.h.

#define FC_BSG_HST_ELS_NOLOGIN   (FC_BSG_HST_MASK | 0x00000003)

Definition at line 49 of file scsi_bsg_fc.h.

#define FC_BSG_HST_MASK   0x80000000 /* fc host class */

Definition at line 43 of file scsi_bsg_fc.h.

#define FC_BSG_HST_VENDOR   (FC_BSG_HST_MASK | 0x000000FF)

Definition at line 51 of file scsi_bsg_fc.h.

#define FC_BSG_RPT_CT   (FC_BSG_RPT_MASK | 0x00000002)

Definition at line 55 of file scsi_bsg_fc.h.

#define FC_BSG_RPT_ELS   (FC_BSG_RPT_MASK | 0x00000001)

Definition at line 54 of file scsi_bsg_fc.h.

#define FC_BSG_RPT_MASK   0x40000000 /* fc rport class */

Definition at line 44 of file scsi_bsg_fc.h.

#define FC_CTELS_STATUS_F_BSY   0x00000006

Definition at line 142 of file scsi_bsg_fc.h.

#define FC_CTELS_STATUS_F_RJT   0x00000003

Definition at line 140 of file scsi_bsg_fc.h.

#define FC_CTELS_STATUS_OK   0x00000000

Definition at line 137 of file scsi_bsg_fc.h.

#define FC_CTELS_STATUS_P_BSY   0x00000004

Definition at line 141 of file scsi_bsg_fc.h.

#define FC_CTELS_STATUS_P_RJT   0x00000002

Definition at line 139 of file scsi_bsg_fc.h.

#define FC_CTELS_STATUS_REJECT   0x00000001

Definition at line 138 of file scsi_bsg_fc.h.

#define FC_DEFAULT_BSG_TIMEOUT   (10 * HZ)

Definition at line 34 of file scsi_bsg_fc.h.

Function Documentation

struct fc_bsg_request __attribute__ ( (packed)  )
read

mcontroller : adapter info structure for old mimd_t apps

: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id

Definition at line 171 of file esd_usb2.c.

Variable Documentation

Definition at line 296 of file scsi_bsg_fc.h.

Definition at line 299 of file scsi_bsg_fc.h.

Definition at line 297 of file scsi_bsg_fc.h.

Definition at line 298 of file scsi_bsg_fc.h.

Definition at line 300 of file scsi_bsg_fc.h.

uint32_t msgcode

Definition at line 294 of file scsi_bsg_fc.h.

Definition at line 303 of file scsi_bsg_fc.h.

Definition at line 302 of file scsi_bsg_fc.h.

union { ... } rqst_data