Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
megaraid_mbox.c File Reference
#include <linux/slab.h>
#include <linux/module.h>
#include "megaraid_mbox.h"

Go to the source code of this file.

Functions

 MODULE_AUTHOR ("[email protected]")
 
 MODULE_DESCRIPTION ("LSI Logic MegaRAID Mailbox Driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (MEGARAID_VERSION)
 
 module_param_named (unconf_disks, megaraid_expose_unconf_disks, int, 0)
 
 MODULE_PARM_DESC (unconf_disks,"Set to expose unconfigured disks to kernel (default=0)")
 
 module_param_named (busy_wait, max_mbox_busy_wait, int, 0)
 
 MODULE_PARM_DESC (busy_wait,"Max wait for mailbox in microseconds if busy (default=10)")
 
 module_param_named (max_sectors, megaraid_max_sectors, int, 0)
 
 MODULE_PARM_DESC (max_sectors,"Maximum number of sectors per IO command (default=128)")
 
 module_param_named (cmd_per_lun, megaraid_cmd_per_lun, int, 0)
 
 MODULE_PARM_DESC (cmd_per_lun,"Maximum number of commands per logical unit (default=64)")
 
 module_param_named (fast_load, megaraid_fast_load, int, 0)
 
 MODULE_PARM_DESC (fast_load,"Faster loading of the driver, skips physical devices! (default=0)")
 
 module_param_named (debug_level, mraid_debug_level, int, 0)
 
 MODULE_PARM_DESC (debug_level,"Debug level for driver (default=0)")
 
 MODULE_DEVICE_TABLE (pci, pci_id_table_g)
 
 DEVICE_ATTR (megaraid_mbox_app_hndl, S_IRUSR, megaraid_sysfs_show_app_hndl, NULL)
 
 DEVICE_ATTR (megaraid_mbox_ld, S_IRUSR, megaraid_sysfs_show_ldnum, NULL)
 
 module_init (megaraid_init)
 
 module_exit (megaraid_exit)
 

Variables

int mraid_debug_level = CL_ANN
 

Function Documentation

DEVICE_ATTR ( megaraid_mbox_app_hndl  ,
S_IRUSR  ,
megaraid_sysfs_show_app_hndl  ,
NULL   
)
DEVICE_ATTR ( megaraid_mbox_ld  ,
S_IRUSR  ,
megaraid_sysfs_show_ldnum  ,
NULL   
)
MODULE_AUTHOR ( "[email protected] )
MODULE_DESCRIPTION ( "LSI Logic MegaRAID Mailbox Driver"  )
MODULE_DEVICE_TABLE ( pci  ,
pci_id_table_g   
)
module_exit ( megaraid_exit  )
module_init ( megaraid_init  )
MODULE_LICENSE ( "GPL"  )
module_param_named ( unconf_disks  ,
megaraid_expose_unconf_disks  ,
int  ,
 
)
module_param_named ( busy_wait  ,
max_mbox_busy_wait  ,
int  ,
 
)
module_param_named ( max_sectors  ,
megaraid_max_sectors  ,
int  ,
 
)
module_param_named ( cmd_per_lun  ,
megaraid_cmd_per_lun  ,
int  ,
 
)
module_param_named ( fast_load  ,
megaraid_fast_load  ,
int  ,
 
)
module_param_named ( debug_level  ,
mraid_debug_level  ,
int  ,
 
)
MODULE_PARM_DESC ( unconf_disks  ,
"Set to expose unconfigured disks to kernel (default=0)"   
)
MODULE_PARM_DESC ( busy_wait  ,
"Max wait for mailbox in microseconds if busy (default=10)"   
)
MODULE_PARM_DESC ( max_sectors  ,
"Maximum number of sectors per IO command (default=128)"   
)
MODULE_PARM_DESC ( cmd_per_lun  ,
"Maximum number of commands per logical unit (default=64)"   
)
MODULE_PARM_DESC ( fast_load  ,
"Faster loading of the  driver,
skips physical devices!(default=0)"   
)
MODULE_PARM_DESC ( debug_level  ,
"Debug level for driver (default=0)"   
)
MODULE_VERSION ( MEGARAID_VERSION  )

Variable Documentation

int mraid_debug_level = CL_ANN

Definition at line 200 of file megaraid_mbox.c.