Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
powertec.c File Reference
#include <linux/module.h>
#include <linux/blkdev.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/ioport.h>
#include <linux/proc_fs.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/dma-mapping.h>
#include <asm/dma.h>
#include <asm/ecard.h>
#include <asm/io.h>
#include <asm/pgtable.h>
#include "../scsi.h"
#include <scsi/scsi_host.h>
#include "fas216.h"
#include "scsi.h"
#include <scsi/scsicam.h>

Go to the source code of this file.

Data Structures

struct  powertec_info
 

Macros

#define POWERTEC_FAS216_OFFSET   0x3000
 
#define POWERTEC_FAS216_SHIFT   6
 
#define POWERTEC_INTR_STATUS   0x2000
 
#define POWERTEC_INTR_BIT   0x80
 
#define POWERTEC_RESET_CONTROL   0x1018
 
#define POWERTEC_RESET_BIT   1
 
#define POWERTEC_TERM_CONTROL   0x2018
 
#define POWERTEC_TERM_ENABLE   1
 
#define POWERTEC_INTR_CONTROL   0x101c
 
#define POWERTEC_INTR_ENABLE   1
 
#define POWERTEC_INTR_DISABLE   0
 
#define VERSION   "1.10 (19/01/2003 2.5.59)"
 
#define NR_SG   256
 

Functions

const charpowertecscsi_info (struct Scsi_Host *host)
 
int powertecscsi_proc_info (struct Scsi_Host *host, char *buffer, char **start, off_t offset, int length, int inout)
 
 module_init (powertecscsi_init)
 
 module_exit (powertecscsi_exit)
 
 MODULE_AUTHOR ("Russell King")
 
 MODULE_DESCRIPTION ("Powertec SCSI driver")
 
 module_param_array (term, int, NULL, 0)
 
 MODULE_PARM_DESC (term,"SCSI bus termination")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define NR_SG   256

Definition at line 57 of file powertec.c.

#define POWERTEC_FAS216_OFFSET   0x3000

Definition at line 33 of file powertec.c.

#define POWERTEC_FAS216_SHIFT   6

Definition at line 34 of file powertec.c.

#define POWERTEC_INTR_BIT   0x80

Definition at line 37 of file powertec.c.

#define POWERTEC_INTR_CONTROL   0x101c

Definition at line 45 of file powertec.c.

#define POWERTEC_INTR_DISABLE   0

Definition at line 47 of file powertec.c.

#define POWERTEC_INTR_ENABLE   1

Definition at line 46 of file powertec.c.

#define POWERTEC_INTR_STATUS   0x2000

Definition at line 36 of file powertec.c.

#define POWERTEC_RESET_BIT   1

Definition at line 40 of file powertec.c.

#define POWERTEC_RESET_CONTROL   0x1018

Definition at line 39 of file powertec.c.

#define POWERTEC_TERM_CONTROL   0x2018

Definition at line 42 of file powertec.c.

#define POWERTEC_TERM_ENABLE   1

Definition at line 43 of file powertec.c.

#define VERSION   "1.10 (19/01/2003 2.5.59)"

Definition at line 49 of file powertec.c.

Function Documentation

MODULE_AUTHOR ( "Russell King"  )
MODULE_DESCRIPTION ( "Powertec SCSI driver )
module_exit ( powertecscsi_exit  )
module_init ( powertecscsi_init  )
MODULE_LICENSE ( "GPL"  )
module_param_array ( term  ,
int  ,
NULL  ,
 
)
MODULE_PARM_DESC ( term  ,
"SCSI bus termination"   
)
const char* powertecscsi_info ( struct Scsi_Host host)

Definition at line 185 of file powertec.c.

int powertecscsi_proc_info ( struct Scsi_Host host,
char buffer,
char **  start,
off_t  offset,
int  length,
int  inout 
)

Definition at line 240 of file powertec.c.