Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
linit.c File Reference
#include <linux/compat.h>
#include <linux/blkdev.h>
#include <linux/completion.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/pci.h>
#include <linux/pci-aspm.h>
#include <linux/slab.h>
#include <linux/mutex.h>
#include <linux/spinlock.h>
#include <linux/syscalls.h>
#include <linux/delay.h>
#include <linux/kthread.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 <scsi/scsicam.h>
#include <scsi/scsi_eh.h>
#include "aacraid.h"

Go to the source code of this file.

Macros

#define AAC_DRIVER_VERSION   "1.2-0"
 
#define AAC_DRIVERNAME   "aacraid"
 
#define _str(x)   #x
 
#define str(x)   _str(x)
 
#define AAC_DRIVER_FULL_VERSION   AAC_DRIVER_VERSION "[" str(AAC_DRIVER_BUILD) "]" AAC_DRIVER_BRANCH
 

Functions

 MODULE_AUTHOR ("Red Hat Inc and Adaptec")
 
 MODULE_DESCRIPTION ("Dell PERC2, 2/Si, 3/Si, 3/Di, ""Adaptec Advanced Raid Products, ""HP NetRAID-4M, IBM ServeRAID & ICP SCSI driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (AAC_DRIVER_FULL_VERSION)
 
 MODULE_DEVICE_TABLE (pci, aac_pci_tbl)
 
struct aac_driver_identaac_get_driver_ident (int devtype)
 
ssize_t aac_get_serial_number (struct device *device, char *buf)
 
 module_init (aac_init)
 
 module_exit (aac_exit)
 

Variables

char aac_driver_version [] = AAC_DRIVER_FULL_VERSION
 

Macro Definition Documentation

#define _str (   x)    #x

Definition at line 66 of file linit.c.

#define AAC_DRIVER_FULL_VERSION   AAC_DRIVER_VERSION "[" str(AAC_DRIVER_BUILD) "]" AAC_DRIVER_BRANCH

Definition at line 68 of file linit.c.

#define AAC_DRIVER_VERSION   "1.2-0"

Definition at line 59 of file linit.c.

#define AAC_DRIVERNAME   "aacraid"

Definition at line 63 of file linit.c.

#define str (   x)    _str(x)

Definition at line 67 of file linit.c.

Function Documentation

struct aac_driver_ident* aac_get_driver_ident ( int  devtype)
read

aac_get_driver_ident : index into lookup table

Returns a pointer to the entry in the driver lookup table.

Definition at line 301 of file linit.c.

ssize_t aac_get_serial_number ( struct device device,
char buf 
)

Definition at line 1045 of file linit.c.

MODULE_AUTHOR ( "Red Hat Inc and Adaptec"  )
MODULE_DESCRIPTION ( "Dell  PERC2,
2/  Si,
3/  Si,
3/  Di,
""Adaptec Advanced Raid  Products,
""HP NetRAID-  4M,
IBM ServeRAID &ICP SCSI driver  
)
MODULE_DEVICE_TABLE ( pci  ,
aac_pci_tbl   
)
module_exit ( aac_exit  )
module_init ( aac_init  )
MODULE_LICENSE ( "GPL"  )
MODULE_VERSION ( AAC_DRIVER_FULL_VERSION  )

Variable Documentation

char aac_driver_version[] = AAC_DRIVER_FULL_VERSION

Definition at line 83 of file linit.c.