#include <linux/module.h>
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/bio.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/major.h>
#include <linux/fs.h>
#include <linux/blkpg.h>
#include <linux/timer.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/init.h>
#include <linux/hdreg.h>
#include <linux/mutex.h>
#include <linux/spinlock.h>
#include <linux/blkdev.h>
#include <linux/genhd.h>
#include <linux/scatterlist.h>
#include <asm/uaccess.h>
#include <asm/io.h>
#include "cpqarray.h"
#include "ida_cmd.h"
#include "smart1,2.h"
#include "ida_ioctl.h"
Go to the source code of this file.
| #define CPQARRAY_DMA_MASK 0xFFFFFFFF /* 32 bit DMA */ |
| #define DBG |
( |
|
s | ) |
do { s } while(0) |
| #define DBGINFO |
( |
|
s | ) |
do { } while(0) |
| #define DBGP |
( |
|
s | ) |
do { } while(0) |
| #define DBGPX |
( |
|
s | ) |
do { } while(0) |
| #define DRIVER_NAME "Compaq SMART2 Driver (v 2.6.0)" |
| #define NR_CMDS 128 /* This could probably go as high as ~400 */ |
| #define SMART2_DRIVER_VERSION |
( |
|
maj, |
|
|
|
min, |
|
|
|
submin |
|
) |
| ((maj<<16)|(min<<8)|(submin)) |
| MODULE_AUTHOR |
( |
"Compaq Computer Corporation" |
| ) |
|
| MODULE_DESCRIPTION |
( |
"Driver for Compaq Smart2 Array Controllers version 2.6.0" |
| ) |
|
| MODULE_DEVICE_TABLE |
( |
pci |
, |
|
|
cpqarray_pci_device_id |
|
|
) |
| |
| module_param_array |
( |
eisa |
, |
|
|
int |
, |
|
|
NULL |
, |
|
|
0 |
|
|
) |
| |