Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/miscdevice.h>
#include <linux/mutex.h>
#include <linux/compat.h>
#include <asm/io.h>
#include <asm/uaccess.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 "mptbase.h"
#include "mptctl.h"
Go to the source code of this file.
Data Structures | |
struct | buflist |
Macros | |
#define | COPYRIGHT "Copyright (c) 1999-2008 LSI Corporation" |
#define | MODULEAUTHOR "LSI Corporation" |
#define | my_NAME "Fusion MPT misc device (ioctl) driver" |
#define | my_VERSION MPT_LINUX_VERSION_COMMON |
#define | MYNAM "mptctl" |
#define | MAX_FRAGS_SPILL1 9 |
#define | MAX_FRAGS_SPILL2 15 |
#define | FRAGS_PER_BUCKET (MAX_FRAGS_SPILL2 + 1) |
#define | MAX_CHAIN_FRAGS (4 * MAX_FRAGS_SPILL2 + 1) |
#define | MAX_SGL_BYTES ((MAX_FRAGS_SPILL1 + 1 + (4 * FRAGS_PER_BUCKET)) * 8) |
#define | MAX_KMALLOC_SZ (128*1024) |
#define | MPT_IOCTL_DEFAULT_TIMEOUT 10 /* Default timeout value (seconds) */ |
Functions | |
MODULE_AUTHOR (MODULEAUTHOR) | |
MODULE_DESCRIPTION (my_NAME) | |
MODULE_LICENSE ("GPL") | |
MODULE_VERSION (my_VERSION) | |
module_init (mptctl_init) | |
module_exit (mptctl_exit) | |
#define FRAGS_PER_BUCKET (MAX_FRAGS_SPILL2 + 1) |
#define MAX_CHAIN_FRAGS (4 * MAX_FRAGS_SPILL2 + 1) |
#define MAX_SGL_BYTES ((MAX_FRAGS_SPILL1 + 1 + (4 * FRAGS_PER_BUCKET)) * 8) |
#define my_VERSION MPT_LINUX_VERSION_COMMON |
MODULE_AUTHOR | ( | MODULEAUTHOR | ) |
MODULE_DESCRIPTION | ( | my_NAME | ) |
module_exit | ( | mptctl_exit | ) |
module_init | ( | mptctl_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
MODULE_VERSION | ( | my_VERSION | ) |