#include <linux/fs.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/ioport.h>
#include <linux/delay.h>
#include <linux/pci.h>
#include <linux/wait.h>
#include <linux/spinlock.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
#include <linux/blkdev.h>
#include <linux/firmware.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/hdreg.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <asm/irq.h>
#include <asm/processor.h>
#include <linux/libata.h>
#include <linux/mutex.h>
#include <scsi/scsi.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_tcq.h>
#include <scsi/scsi_eh.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsicam.h>
#include "pmcraid.h"
Go to the source code of this file.
|
| DECLARE_BITMAP (pmcraid_minor, PMCRAID_MAX_ADAPTERS) |
|
| MODULE_AUTHOR ("Anil Ravindranath<[email protected]>") |
|
| MODULE_DESCRIPTION ("PMC Sierra MaxRAID Controller Driver") |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_VERSION (PMCRAID_DRIVER_VERSION) |
|
| module_param_named (log_level, pmcraid_log_level, uint,(S_IRUGO|S_IWUSR)) |
|
| MODULE_PARM_DESC (log_level,"Enables firmware error code logging, default :1 high-severity"" errors, 2: all errors including high-severity errors,"" 0: disables logging") |
|
| module_param_named (debug, pmcraid_debug_log, uint,(S_IRUGO|S_IWUSR)) |
|
| MODULE_PARM_DESC (debug,"Enable driver verbose message logging. Set 1 to enable.""(default: 0)") |
|
| module_param_named (disable_aen, pmcraid_disable_aen, uint,(S_IRUGO|S_IWUSR)) |
|
| MODULE_PARM_DESC (disable_aen,"Disable driver aen notifications to apps. Set 1 to disable.""(default: 0)") |
|
| MODULE_DEVICE_TABLE (pci, pmcraid_pci_table) |
|
void | pmcraid_init_cmdblk (struct pmcraid_cmd *cmd, int index) |
|
void | pmcraid_return_cmd (struct pmcraid_cmd *cmd) |
|
void | pmcraid_ioasc_logger (u32 ioasc, struct pmcraid_cmd *cmd) |
|
struct pmcraid_ioadl_desc * | pmcraid_init_ioadls (struct pmcraid_cmd *cmd, int sgcount) |
|
| module_init (pmcraid_init) |
|
| module_exit (pmcraid_exit) |
|
#define pmcraid_resume NULL |
#define pmcraid_suspend NULL |
- Enumerator:
PMCRAID_AEN_ATTR_UNSPEC |
|
PMCRAID_AEN_ATTR_EVENT |
|
__PMCRAID_AEN_ATTR_MAX |
|
Definition at line 1392 of file pmcraid.c.
- Enumerator:
PMCRAID_AEN_CMD_UNSPEC |
|
PMCRAID_AEN_CMD_EVENT |
|
__PMCRAID_AEN_CMD_MAX |
|
Definition at line 1400 of file pmcraid.c.
MODULE_DESCRIPTION |
( |
"PMC Sierra MaxRAID Controller Driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
pci |
, |
|
|
pmcraid_pci_table |
|
|
) |
| |
module_exit |
( |
pmcraid_exit |
| ) |
|
module_init |
( |
pmcraid_init |
| ) |
|
MODULE_PARM_DESC |
( |
disable_aen |
, |
|
|
"Disable driver aen notifications to apps. Set 1 to disable.""(default: 0)" |
|
|
) |
| |
pmcraid_init_cmdblk - initializes a command block
: pointer to struct pmcraid_cmd to be initialized : if >=0 first time initialization; otherwise reinitialization
Return Value None
Definition at line 349 of file pmcraid.c.
pmcraid_init_ioadls - initializes IOADL related fields in IOARCB : pmcraid command struct : count of scatter-gather elements
Return value returns pointer pmcraid_ioadl_desc, initialized to point to internal or external IOADLs
Definition at line 3206 of file pmcraid.c.
pmcraid_ioasc_logger - log IOASC information based user-settings : ioasc code : pointer to command that resulted in 'ioasc'
Definition at line 1748 of file pmcraid.c.
pmcraid_return_cmd - return a completed command block back into free pool : pointer to the command block
Return Value: nothing
Definition at line 444 of file pmcraid.c.