#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/pci-aspm.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/fs.h>
#include <linux/timer.h>
#include <linux/seq_file.h>
#include <linux/init.h>
#include <linux/spinlock.h>
#include <linux/compat.h>
#include <linux/blktrace_api.h>
#include <linux/uaccess.h>
#include <linux/io.h>
#include <linux/dma-mapping.h>
#include <linux/completion.h>
#include <linux/moduleparam.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 <linux/cciss_ioctl.h>
#include <linux/string.h>
#include <linux/bitmap.h>
#include <linux/atomic.h>
#include <linux/kthread.h>
#include <linux/jiffies.h>
#include "hpsa_cmd.h"
#include "hpsa.h"
Go to the source code of this file.
|
| MODULE_AUTHOR ("Hewlett-Packard Company") |
|
| MODULE_DESCRIPTION ("Driver for HP Smart Array Controller version "HPSA_DRIVER_VERSION) |
|
| MODULE_SUPPORTED_DEVICE ("HP Smart Array Controllers") |
|
| MODULE_VERSION (HPSA_DRIVER_VERSION) |
|
| MODULE_LICENSE ("GPL") |
|
| module_param (hpsa_allow_any, int, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (hpsa_allow_any,"Allow hpsa driver to access unknown HP Smart Array hardware") |
|
| module_param (hpsa_simple_mode, int, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (hpsa_simple_mode,"Use 'simple mode' rather than 'performant mode'") |
|
| MODULE_DEVICE_TABLE (pci, hpsa_pci_device_id) |
|
u8 * | figure_lunaddrbytes (struct ctlr_info *h, int raid_ctlr_position, int i, int nphysicals, int nlogicals, struct ReportLUNdata *physdev_list, struct ReportLUNdata *logdev_list) |
|
| module_init (hpsa_init) |
|
| module_exit (hpsa_cleanup) |
|
#define ABORT_COMPLETE_WAIT_SECS 30 |
#define BOARD_NOT_READY 0 |
#define COMMANDLIST_ALIGNMENT 32 |
#define DEVICE_NOT_FOUND 0 |
#define DRIVER_NAME "HP HPSA Driver (v " HPSA_DRIVER_VERSION ")" |
#define HBA_INQUIRY_BYTE_COUNT 64 |
#define HEARTBEAT_SAMPLE_INTERVAL (30 * HZ) |
#define HEARTBEAT_SAMPLE_INTERVAL_DURING_FLASH (240 * HZ) |
#define HPSA_DRIVER_VERSION "2.0.2-1" |
#define hpsa_noop |
( |
|
p | ) |
hpsa_message(p, 3, 0) |
#define HPSA_SIMPLE_ERROR_BITS 0x03 |
#define MAX_CMD_RETRIES 3 |
#define MAX_CONFIG_WAIT 30000 |
#define MAX_DRIVER_CMD_RETRIES 25 |
#define MAX_IOCTL_CONFIG_WAIT 1000 |
#define MINIMUM_TRANSFER_BLOCKS 4 |
#define OBDR_SIG_OFFSET 43 |
#define OBDR_TAPE_SIG "$DR-10" |
#define SCSI3ADDR_EQ |
( |
|
a, |
|
|
|
b |
|
) |
| |
Value:
Definition at line 823 of file hpsa.c.
MODULE_AUTHOR |
( |
"Hewlett-Packard Company" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
pci |
, |
|
|
hpsa_pci_device_id |
|
|
) |
| |
module_exit |
( |
hpsa_cleanup |
| ) |
|
module_init |
( |
hpsa_init |
| ) |
|
module_param |
( |
hpsa_allow_any |
, |
|
|
int |
, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |
module_param |
( |
hpsa_simple_mode |
, |
|
|
int |
, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |
MODULE_PARM_DESC |
( |
hpsa_simple_mode |
, |
|
|
"Use 'simple mode' rather than 'performant mode'" |
|
|
) |
| |
MODULE_SUPPORTED_DEVICE |
( |
"HP Smart Array Controllers" |
| ) |
|