Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
mptctl.c File Reference
#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)
 

Macro Definition Documentation

#define COPYRIGHT   "Copyright (c) 1999-2008 LSI Corporation"

Definition at line 69 of file mptctl.c.

#define FRAGS_PER_BUCKET   (MAX_FRAGS_SPILL2 + 1)

Definition at line 151 of file mptctl.c.

#define MAX_CHAIN_FRAGS   (4 * MAX_FRAGS_SPILL2 + 1)

Definition at line 155 of file mptctl.c.

#define MAX_FRAGS_SPILL1   9

Definition at line 149 of file mptctl.c.

#define MAX_FRAGS_SPILL2   15

Definition at line 150 of file mptctl.c.

#define MAX_KMALLOC_SZ   (128*1024)

Definition at line 163 of file mptctl.c.

#define MAX_SGL_BYTES   ((MAX_FRAGS_SPILL1 + 1 + (4 * FRAGS_PER_BUCKET)) * 8)

Definition at line 160 of file mptctl.c.

#define MODULEAUTHOR   "LSI Corporation"

Definition at line 70 of file mptctl.c.

#define MPT_IOCTL_DEFAULT_TIMEOUT   10 /* Default timeout value (seconds) */

Definition at line 165 of file mptctl.c.

#define my_NAME   "Fusion MPT misc device (ioctl) driver"

Definition at line 75 of file mptctl.c.

#define my_VERSION   MPT_LINUX_VERSION_COMMON

Definition at line 76 of file mptctl.c.

#define MYNAM   "mptctl"

Definition at line 77 of file mptctl.c.

Function Documentation

MODULE_AUTHOR ( MODULEAUTHOR  )
MODULE_DESCRIPTION ( my_NAME  )
module_exit ( mptctl_exit  )
module_init ( mptctl_init  )
MODULE_LICENSE ( "GPL"  )
MODULE_VERSION ( my_VERSION  )