Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
mv_init.c File Reference
#include "mv_sas.h"

Go to the source code of this file.

Macros

#define SOC_SAS_NUM   2
 

Functions

 module_param_named (collector, lldd_max_execute_num, int, S_IRUGO)
 
 MODULE_PARM_DESC (collector,"\n""\tIf greater than one, tells the SAS Layer to run in Task Collector\n""\tMode. If 1 or 0, tells the SAS Layer to run in Direct Mode.\n""\tThe mvsas SAS LLDD supports both modes.\n""\tDefault: 1 (Direct Mode).\n")
 
int mvs_ioremap (struct mvs_info *mvi, int bar, int bar_ex)
 
void mvs_iounmap (void __iomem *regs)
 
 module_init (mvs_init)
 
 module_exit (mvs_exit)
 
 MODULE_AUTHOR ("Jeff Garzik <[email protected]>")
 
 MODULE_DESCRIPTION ("Marvell 88SE6440 SAS/SATA controller driver")
 
 MODULE_VERSION (DRV_VERSION)
 
 MODULE_LICENSE ("GPL")
 

Variables

int interrupt_coalescing = 0x80
 
struct kmem_cachemvs_task_list_cache
 
struct device_attributemvst_host_attrs []
 
struct task_structmvs_th
 

Macro Definition Documentation

#define SOC_SAS_NUM   2

Definition at line 55 of file mv_init.c.

Function Documentation

MODULE_AUTHOR ( "Jeff Garzik <[email protected]>"  )
MODULE_DESCRIPTION ( "Marvell 88SE6440 SAS/SATA controller driver"  )
module_exit ( mvs_exit  )
module_init ( mvs_init  )
MODULE_LICENSE ( "GPL"  )
module_param_named ( collector  ,
lldd_max_execute_num  ,
int  ,
S_IRUGO   
)
MODULE_PARM_DESC ( collector  ,
"\n""\tIf greater than  one,
tells the SAS Layer to run in Task Collector\n""\tMode.If 1 or  0,
tells the SAS Layer to run in Direct Mode.\n""\tThe mvsas SAS LLDD supports both modes.\n""\tDefault:1(Direct Mode).\n  
)
MODULE_VERSION ( DRV_VERSION  )
int mvs_ioremap ( struct mvs_info mvi,
int  bar,
int  bar_ex 
)

Definition at line 322 of file mv_init.c.

void mvs_iounmap ( void __iomem regs)

Definition at line 371 of file mv_init.c.

Variable Documentation

int interrupt_coalescing = 0x80

Definition at line 37 of file mv_init.c.

struct kmem_cache* mvs_task_list_cache

Definition at line 40 of file mv_init.c.

Definition at line 819 of file mv_init.c.

struct device_attribute * mvst_host_attrs
Initial value:
= {
&dev_attr_driver_version,
&dev_attr_interrupt_coalescing,
}

Definition at line 53 of file mv_init.c.