Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
tmscsim.c File Reference
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/ioport.h>
#include <linux/pci.h>
#include <linux/proc_fs.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/blkdev.h>
#include <linux/timer.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/spinlock.h>
#include <linux/slab.h>
#include <asm/io.h>
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_host.h>
#include <scsi/scsicam.h>
#include <scsi/scsi_tcq.h>
#include "tmscsim.h"

Go to the source code of this file.

Macros

#define C_NOP
 
#define DEBUG0(x)   C_NOP
 
#define DEBUG1(x)   C_NOP
 
#define DCBDEBUG(x)   C_NOP
 
#define PARSEDEBUG(x)   C_NOP
 
#define REMOVABLEDEBUG(x)   C_NOP
 
#define DCBDEBUG1(x)   C_NOP
 
#define DC390_BANNER   "Tekram DC390/AM53C974"
 
#define DC390_VERSION   "2.1d 2004-05-27"
 
#define PCI_DEVICE_ID_AMD53C974   PCI_DEVICE_ID_AMD_SCSI
 
#define DC390_ENABLE_MSGOUT   DC390_write8 (ScsiCmd, SET_ATN_CMD)
 

Functions

 module_param (disable_clustering, int, S_IRUGO)
 
 MODULE_PARM_DESC (disable_clustering,"If you experience problems with your devices, try setting to 1")
 
 module_param_array (tmscsim, int, NULL, 0)
 
 MODULE_PARM_DESC (tmscsim,"Host SCSI ID, Speed (0=10MHz), Device Flags, Adapter Flags, Max Tags (log2(tags)-1), DelayReset (s)")
 
 MODULE_AUTHOR ("C.L. Huang / Kurt Garloff")
 
 MODULE_DESCRIPTION ("SCSI host adapter driver for Tekram DC390 and other AMD53C974A based PCI SCSI adapters")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_SUPPORTED_DEVICE ("sd,sr,sg,st")
 
 MODULE_DEVICE_TABLE (pci, tmscsim_pci_tbl)
 
 module_init (dc390_module_init)
 
 module_exit (dc390_module_exit)
 
 __setup ("tmscsim=", dc390_setup)
 

Macro Definition Documentation

#define C_NOP

Definition at line 191 of file tmscsim.c.

#define DC390_BANNER   "Tekram DC390/AM53C974"

Definition at line 247 of file tmscsim.c.

#define DC390_ENABLE_MSGOUT   DC390_write8 (ScsiCmd, SET_ATN_CMD)

Definition at line 988 of file tmscsim.c.

#define DC390_VERSION   "2.1d 2004-05-27"

Definition at line 248 of file tmscsim.c.

#define DCBDEBUG (   x)    C_NOP

Definition at line 207 of file tmscsim.c.

#define DCBDEBUG1 (   x)    C_NOP

Definition at line 219 of file tmscsim.c.

#define DEBUG0 (   x)    C_NOP

Definition at line 197 of file tmscsim.c.

#define DEBUG1 (   x)    C_NOP

Definition at line 202 of file tmscsim.c.

#define PARSEDEBUG (   x)    C_NOP

Definition at line 212 of file tmscsim.c.

#define PCI_DEVICE_ID_AMD53C974   PCI_DEVICE_ID_AMD_SCSI

Definition at line 250 of file tmscsim.c.

#define REMOVABLEDEBUG (   x)    C_NOP

Definition at line 217 of file tmscsim.c.

Function Documentation

__setup ( )
MODULE_AUTHOR ( "C.L. Huang / Kurt Garloff"  )
MODULE_DESCRIPTION ( "SCSI host adapter driver for Tekram DC390 and other AMD53C974A based PCI SCSI adapters"  )
MODULE_DEVICE_TABLE ( pci  ,
tmscsim_pci_tbl   
)
module_exit ( dc390_module_exit  )
module_init ( dc390_module_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( disable_clustering  ,
int  ,
S_IRUGO   
)
module_param_array ( tmscsim  ,
int  ,
NULL  ,
 
)
MODULE_PARM_DESC ( disable_clustering  ,
"If you experience problems with your  devices,
try setting to 1"   
)
MODULE_PARM_DESC ( tmscsim  ,
"Host SCSI  ID,
Speed(0=10MHz)  ,
Device  Flags,
Adapter  Flags,
Max   Tagslog2(tags)-1,
DelayReset(s)"   
)
MODULE_SUPPORTED_DEVICE ( sd,
sr  ,
sg  ,
st  
)