Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
dmx3191d.c File Reference
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/interrupt.h>
#include <asm/io.h>
#include <scsi/scsi_host.h>
#include <linux/delay.h>
#include "scsi.h"
#include "NCR5380.h"
#include "NCR5380.c"

Go to the source code of this file.

Macros

#define AUTOSENSE
 
#define NCR5380_read(reg)   inb(port + reg)
 
#define NCR5380_write(reg, value)   outb(value, port + reg)
 
#define NCR5380_implementation_fields   unsigned int port
 
#define NCR5380_local_declare()   NCR5380_implementation_fields
 
#define NCR5380_setup(instance)   port = instance->io_port
 
#define DMX3191D_DRIVER_NAME   "dmx3191d"
 
#define DMX3191D_REGION_LEN   8
 

Functions

 MODULE_DEVICE_TABLE (pci, dmx3191d_pci_tbl)
 
 module_init (dmx3191d_init)
 
 module_exit (dmx3191d_exit)
 
 MODULE_AUTHOR ("Massimo Piccioni <[email protected]>")
 
 MODULE_DESCRIPTION ("Domex DMX3191D SCSI driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define AUTOSENSE

Definition at line 36 of file dmx3191d.c.

#define DMX3191D_DRIVER_NAME   "dmx3191d"

Definition at line 54 of file dmx3191d.c.

#define DMX3191D_REGION_LEN   8

Definition at line 55 of file dmx3191d.c.

#define NCR5380_implementation_fields   unsigned int port

Definition at line 41 of file dmx3191d.c.

#define NCR5380_local_declare ( )    NCR5380_implementation_fields

Definition at line 42 of file dmx3191d.c.

#define NCR5380_read (   reg)    inb(port + reg)

Definition at line 38 of file dmx3191d.c.

#define NCR5380_setup (   instance)    port = instance->io_port

Definition at line 43 of file dmx3191d.c.

#define NCR5380_write (   reg,
  value 
)    outb(value, port + reg)

Definition at line 39 of file dmx3191d.c.

Function Documentation

MODULE_AUTHOR ( "Massimo Piccioni <[email protected]>"  )
MODULE_DESCRIPTION ( "Domex DMX3191D SCSI driver )
MODULE_DEVICE_TABLE ( pci  ,
dmx3191d_pci_tbl   
)
module_exit ( dmx3191d_exit  )
module_init ( dmx3191d_init  )
MODULE_LICENSE ( "GPL"  )