Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
zalon.c File Reference
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/types.h>
#include <asm/hardware.h>
#include <asm/io.h>
#include "../parisc/gsc.h"
#include "ncr53c8xx.h"

Go to the source code of this file.

Macros

#define GSC_SCSI_ZALON_OFFSET   0x800
 
#define IO_MODULE_EIM   (1*4)
 
#define IO_MODULE_DC_ADATA   (2*4)
 
#define IO_MODULE_II_CDATA   (3*4)
 
#define IO_MODULE_IO_COMMAND   (12*4)
 
#define IO_MODULE_IO_STATUS   (13*4)
 
#define IOSTATUS_RY   0x40
 
#define IOSTATUS_FE   0x80
 
#define IOIIDATA_SMINT5L   0x40000000
 
#define IOIIDATA_MINT5EN   0x20000000
 
#define IOIIDATA_PACKEN   0x10000000
 
#define IOIIDATA_PREFETCHEN   0x08000000
 
#define IOIIDATA_IOII   0x00000020
 
#define CMD_RESET   5
 

Functions

 MODULE_AUTHOR ("Richard Hirst")
 
 MODULE_DESCRIPTION ("Bluefish/Zalon 720 SCSI Driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DEVICE_TABLE (parisc, zalon_tbl)
 
 module_init (zalon7xx_init)
 
 module_exit (zalon7xx_exit)
 

Macro Definition Documentation

#define CMD_RESET   5

Definition at line 37 of file zalon.c.

#define GSC_SCSI_ZALON_OFFSET   0x800

Definition at line 21 of file zalon.c.

#define IO_MODULE_DC_ADATA   (2*4)

Definition at line 24 of file zalon.c.

#define IO_MODULE_EIM   (1*4)

Definition at line 23 of file zalon.c.

#define IO_MODULE_II_CDATA   (3*4)

Definition at line 25 of file zalon.c.

#define IO_MODULE_IO_COMMAND   (12*4)

Definition at line 26 of file zalon.c.

#define IO_MODULE_IO_STATUS   (13*4)

Definition at line 27 of file zalon.c.

#define IOIIDATA_IOII   0x00000020

Definition at line 35 of file zalon.c.

#define IOIIDATA_MINT5EN   0x20000000

Definition at line 32 of file zalon.c.

#define IOIIDATA_PACKEN   0x10000000

Definition at line 33 of file zalon.c.

#define IOIIDATA_PREFETCHEN   0x08000000

Definition at line 34 of file zalon.c.

#define IOIIDATA_SMINT5L   0x40000000

Definition at line 31 of file zalon.c.

#define IOSTATUS_FE   0x80

Definition at line 30 of file zalon.c.

#define IOSTATUS_RY   0x40

Definition at line 29 of file zalon.c.

Function Documentation

MODULE_AUTHOR ( "Richard Hirst"  )
MODULE_DESCRIPTION ( "Bluefish/Zalon 720 SCSI Driver"  )
MODULE_DEVICE_TABLE ( parisc  ,
zalon_tbl   
)
module_exit ( zalon7xx_exit  )
module_init ( zalon7xx_init  )
MODULE_LICENSE ( "GPL"  )