Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
mptfc.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/kdev_t.h>
#include <linux/blkdev.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/reboot.h>
#include <linux/workqueue.h>
#include <linux/sort.h>
#include <linux/slab.h>
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_tcq.h>
#include <scsi/scsi_transport_fc.h>
#include "mptbase.h"
#include "mptscsih.h"

Go to the source code of this file.

Macros

#define my_NAME   "Fusion MPT FC Host driver"
 
#define my_VERSION   MPT_LINUX_VERSION_COMMON
 
#define MYNAM   "mptfc"
 
#define MPTFC_DEV_LOSS_TMO   (60)
 
#define MPTFC_MAX_LUN   (16895)
 
#define MPTFC_FW_DEVICE_TIMEOUT   (1)
 
#define MPTFC_FW_IO_PEND_TIMEOUT   (1)
 
#define ON_FLAGS   (MPI_FCPORTPAGE1_FLAGS_IMMEDIATE_ERROR_REPLY)
 
#define OFF_FLAGS   (MPI_FCPORTPAGE1_FLAGS_VERBOSE_RESCAN_EVENTS)
 

Functions

 MODULE_AUTHOR (MODULEAUTHOR)
 
 MODULE_DESCRIPTION (my_NAME)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (my_VERSION)
 
 module_param (mptfc_dev_loss_tmo, int, 0)
 
 MODULE_PARM_DESC (mptfc_dev_loss_tmo," Initial time the driver programs the "" transport to wait for an rport to "" return following a device loss event."" Default=60.")
 
 module_param (max_lun, int, 0)
 
 MODULE_PARM_DESC (max_lun," max lun, default=16895 ")
 
 MODULE_DEVICE_TABLE (pci, mptfc_pci_table)
 
 module_init (mptfc_init)
 
 module_exit (mptfc_exit)
 

Macro Definition Documentation

#define MPTFC_DEV_LOSS_TMO   (60)

Definition at line 80 of file mptfc.c.

#define MPTFC_FW_DEVICE_TIMEOUT   (1)
#define MPTFC_FW_IO_PEND_TIMEOUT   (1)
#define MPTFC_MAX_LUN   (16895)

Definition at line 89 of file mptfc.c.

#define my_NAME   "Fusion MPT FC Host driver"

Definition at line 70 of file mptfc.c.

#define my_VERSION   MPT_LINUX_VERSION_COMMON

Definition at line 71 of file mptfc.c.

#define MYNAM   "mptfc"

Definition at line 72 of file mptfc.c.

Function Documentation

MODULE_AUTHOR ( MODULEAUTHOR  )
MODULE_DESCRIPTION ( my_NAME  )
MODULE_DEVICE_TABLE ( pci  ,
mptfc_pci_table   
)
module_exit ( mptfc_exit  )
module_init ( mptfc_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( mptfc_dev_loss_tmo  ,
int  ,
 
)
module_param ( max_lun  ,
int  ,
 
)
MODULE_PARM_DESC ( mptfc_dev_loss_tmo  )
MODULE_PARM_DESC ( max_lun  ,
" max  lun 
)
MODULE_VERSION ( my_VERSION  )