Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
mptspi.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/slab.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/raid_class.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.h>
#include <scsi/scsi_transport_spi.h>
#include <scsi/scsi_dbg.h>
#include "mptbase.h"
#include "mptscsih.h"

Go to the source code of this file.

Data Structures

struct  work_queue_wrapper
 

Macros

#define my_NAME   "Fusion MPT SPI Host driver"
 
#define my_VERSION   MPT_LINUX_VERSION_COMMON
 
#define MYNAM   "mptspi"
 
#define MPTSPI_SIMPLE_TRANSPORT_PARM(parm)
 

Functions

 MODULE_AUTHOR (MODULEAUTHOR)
 
 MODULE_DESCRIPTION (my_NAME)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (my_VERSION)
 
 module_param (mpt_saf_te, int, 0)
 
 MODULE_PARM_DESC (mpt_saf_te," Force enabling SEP Processor: enable=1 (default=MPTSCSIH_SAF_TE=0)")
 
int mptscsih_quiesce_raid (MPT_SCSI_HOST *hd, int quiesce, u8 channel, u8 id)
 
 MODULE_DEVICE_TABLE (pci, mptspi_pci_table)
 
 module_init (mptspi_init)
 
 module_exit (mptspi_exit)
 

Macro Definition Documentation

#define MPTSPI_SIMPLE_TRANSPORT_PARM (   parm)
Value:
static void mptspi_write_##parm(struct scsi_target *starget, int parm)\
{ \
u32 nego; \
\
spi_##parm(starget) = parm; \
\
nego = mptspi_getRP(starget); \
\
pg1.RequestedParameters = cpu_to_le32(nego); \
pg1.Reserved = 0; \
pg1.Configuration = 0; \
\
mptspi_write_spi_device_pg1(starget, &pg1); \
}

Definition at line 1045 of file mptspi.c.

#define my_NAME   "Fusion MPT SPI Host driver"

Definition at line 73 of file mptspi.c.

#define my_VERSION   MPT_LINUX_VERSION_COMMON

Definition at line 74 of file mptspi.c.

#define MYNAM   "mptspi"

Definition at line 75 of file mptspi.c.

Function Documentation

MODULE_AUTHOR ( MODULEAUTHOR  )
MODULE_DESCRIPTION ( my_NAME  )
MODULE_DEVICE_TABLE ( pci  ,
mptspi_pci_table   
)
module_exit ( mptspi_exit  )
module_init ( mptspi_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( mpt_saf_te  ,
int  ,
 
)
MODULE_PARM_DESC ( mpt_saf_te  )
MODULE_VERSION ( my_VERSION  )
int mptscsih_quiesce_raid ( MPT_SCSI_HOST *  hd,
int  quiesce,
u8  channel,
u8  id 
)

Definition at line 624 of file mptspi.c.