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

Go to the source code of this file.

Data Structures

struct  mpt2_ioctl_header
 
struct  mpt2_ioctl_diag_reset
 
struct  mpt2_ioctl_pci_info
 
struct  mpt2_ioctl_iocinfo
 
struct  mpt2_ioctl_eventquery
 
struct  mpt2_ioctl_eventenable
 
struct  MPT2_IOCTL_EVENTS
 
struct  mpt2_ioctl_eventreport
 
struct  mpt2_ioctl_command
 
struct  mpt2_ioctl_btdh_mapping
 
struct  mpt2_diag_register
 
struct  mpt2_diag_unregister
 
struct  mpt2_diag_query
 
struct  mpt2_diag_release
 
struct  mpt2_diag_read_buffer
 

Macros

#define MPT2SAS_DEV_NAME   "mpt2ctl"
 
#define MPT2_MAGIC_NUMBER   'L'
 
#define MPT2_IOCTL_DEFAULT_TIMEOUT   (10) /* in seconds */
 
#define MPT2IOCINFO
 
#define MPT2COMMAND
 
#define MPT2EVENTQUERY
 
#define MPT2EVENTENABLE
 
#define MPT2EVENTREPORT
 
#define MPT2HARDRESET
 
#define MPT2BTDHMAPPING
 
#define MPT2DIAGREGISTER
 
#define MPT2DIAGRELEASE
 
#define MPT2DIAGUNREGISTER
 
#define MPT2DIAGQUERY
 
#define MPT2DIAGREADBUFFER
 
#define MPT2_IOCTL_INTERFACE_SCSI   (0x00)
 
#define MPT2_IOCTL_INTERFACE_FC   (0x01)
 
#define MPT2_IOCTL_INTERFACE_FC_IP   (0x02)
 
#define MPT2_IOCTL_INTERFACE_SAS   (0x03)
 
#define MPT2_IOCTL_INTERFACE_SAS2   (0x04)
 
#define MPT2_IOCTL_INTERFACE_SAS2_SSS6200   (0x05)
 
#define MPT2_IOCTL_VERSION_LENGTH   (32)
 
#define MPT2SAS_CTL_EVENT_LOG_SIZE   (50)
 
#define MPT2_EVENT_DATA_SIZE   (192)
 
#define MPT2_DIAG_BUFFER_IS_REGISTERED   (0x01)
 
#define MPT2_DIAG_BUFFER_IS_RELEASED   (0x02)
 
#define MPT2_DIAG_BUFFER_IS_DIAG_RESET   (0x04)
 
#define MPT2_APP_FLAGS_APP_OWNED   (0x0001)
 
#define MPT2_APP_FLAGS_BUFFER_VALID   (0x0002)
 
#define MPT2_APP_FLAGS_FW_BUFFER_ACCESS   (0x0004)
 
#define MPT2_FLAGS_REREGISTER   (0x0001)
 
#define MPT2_PRODUCT_SPECIFIC_DWORDS   23
 

Macro Definition Documentation

#define MPT2_APP_FLAGS_APP_OWNED   (0x0001)

Definition at line 304 of file mpt2sas_ctl.h.

#define MPT2_APP_FLAGS_BUFFER_VALID   (0x0002)

Definition at line 305 of file mpt2sas_ctl.h.

#define MPT2_APP_FLAGS_FW_BUFFER_ACCESS   (0x0004)

Definition at line 306 of file mpt2sas_ctl.h.

#define MPT2_DIAG_BUFFER_IS_DIAG_RESET   (0x04)

Definition at line 301 of file mpt2sas_ctl.h.

#define MPT2_DIAG_BUFFER_IS_REGISTERED   (0x01)

Definition at line 299 of file mpt2sas_ctl.h.

#define MPT2_DIAG_BUFFER_IS_RELEASED   (0x02)

Definition at line 300 of file mpt2sas_ctl.h.

#define MPT2_EVENT_DATA_SIZE   (192)

Definition at line 203 of file mpt2sas_ctl.h.

#define MPT2_FLAGS_REREGISTER   (0x0001)

Definition at line 309 of file mpt2sas_ctl.h.

#define MPT2_IOCTL_DEFAULT_TIMEOUT   (10) /* in seconds */

Definition at line 54 of file mpt2sas_ctl.h.

#define MPT2_IOCTL_INTERFACE_FC   (0x01)

Definition at line 132 of file mpt2sas_ctl.h.

#define MPT2_IOCTL_INTERFACE_FC_IP   (0x02)

Definition at line 133 of file mpt2sas_ctl.h.

#define MPT2_IOCTL_INTERFACE_SAS   (0x03)

Definition at line 134 of file mpt2sas_ctl.h.

#define MPT2_IOCTL_INTERFACE_SAS2   (0x04)

Definition at line 135 of file mpt2sas_ctl.h.

#define MPT2_IOCTL_INTERFACE_SAS2_SSS6200   (0x05)

Definition at line 136 of file mpt2sas_ctl.h.

#define MPT2_IOCTL_INTERFACE_SCSI   (0x00)

Definition at line 131 of file mpt2sas_ctl.h.

#define MPT2_IOCTL_VERSION_LENGTH   (32)

Definition at line 137 of file mpt2sas_ctl.h.

#define MPT2_MAGIC_NUMBER   'L'

Definition at line 53 of file mpt2sas_ctl.h.

#define MPT2_PRODUCT_SPECIFIC_DWORDS   23

Definition at line 311 of file mpt2sas_ctl.h.

#define MPT2BTDHMAPPING
Value:

Definition at line 75 of file mpt2sas_ctl.h.

#define MPT2COMMAND
Value:

Definition at line 61 of file mpt2sas_ctl.h.

#define MPT2DIAGQUERY
Value:

Definition at line 85 of file mpt2sas_ctl.h.

#define MPT2DIAGREADBUFFER
Value:

Definition at line 87 of file mpt2sas_ctl.h.

#define MPT2DIAGREGISTER
Value:

Definition at line 79 of file mpt2sas_ctl.h.

#define MPT2DIAGRELEASE
Value:

Definition at line 81 of file mpt2sas_ctl.h.

#define MPT2DIAGUNREGISTER
Value:

Definition at line 83 of file mpt2sas_ctl.h.

#define MPT2EVENTENABLE
Value:

Definition at line 69 of file mpt2sas_ctl.h.

#define MPT2EVENTQUERY
Value:

Definition at line 67 of file mpt2sas_ctl.h.

#define MPT2EVENTREPORT
Value:

Definition at line 71 of file mpt2sas_ctl.h.

#define MPT2HARDRESET
Value:

Definition at line 73 of file mpt2sas_ctl.h.

#define MPT2IOCINFO
Value:

IOCTL opcodes

Definition at line 59 of file mpt2sas_ctl.h.

#define MPT2SAS_CTL_EVENT_LOG_SIZE   (50)

Definition at line 177 of file mpt2sas_ctl.h.

#define MPT2SAS_DEV_NAME   "mpt2ctl"

Definition at line 52 of file mpt2sas_ctl.h.