Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
sun_esp.c File Reference
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/dma-mapping.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/gfp.h>
#include <asm/irq.h>
#include <asm/io.h>
#include <asm/dma.h>
#include <scsi/scsi_host.h>
#include "esp_scsi.h"

Go to the source code of this file.

Macros

#define DRV_MODULE_NAME   "sun_esp"
 
#define PFX   DRV_MODULE_NAME ": "
 
#define DRV_VERSION   "1.100"
 
#define DRV_MODULE_RELDATE   "August 27, 2008"
 
#define dma_read32(REG)   sbus_readl(esp->dma_regs + (REG))
 
#define dma_write32(VAL, REG)   sbus_writel((VAL), esp->dma_regs + (REG))
 

Enumerations

enum  dvma_rev {
  dvmarev0, dvmaesc1, dvmarev1, dvmarev2,
  dvmarev3, dvmarevplus, dvmahme, dvmarev0,
  dvmaesc1, dvmarev1, dvmarev2, dvmarev3,
  dvmarevplus, dvmahme
}
 

Functions

 MODULE_DEVICE_TABLE (of, esp_match)
 
 MODULE_DESCRIPTION ("Sun ESP SCSI driver")
 
 MODULE_AUTHOR ("David S. Miller ([email protected])")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (DRV_VERSION)
 
 module_init (sunesp_init)
 
 module_exit (sunesp_exit)
 

Macro Definition Documentation

#define dma_read32 (   REG)    sbus_readl(esp->dma_regs + (REG))

Definition at line 30 of file sun_esp.c.

#define dma_write32 (   VAL,
  REG 
)    sbus_writel((VAL), esp->dma_regs + (REG))

Definition at line 32 of file sun_esp.c.

#define DRV_MODULE_NAME   "sun_esp"

Definition at line 25 of file sun_esp.c.

#define DRV_MODULE_RELDATE   "August 27, 2008"

Definition at line 28 of file sun_esp.c.

#define DRV_VERSION   "1.100"

Definition at line 27 of file sun_esp.c.

#define PFX   DRV_MODULE_NAME ": "

Definition at line 26 of file sun_esp.c.

Enumeration Type Documentation

enum dvma_rev
Enumerator:
dvmarev0 
dvmaesc1 
dvmarev1 
dvmarev2 
dvmarev3 
dvmarevplus 
dvmahme 
dvmarev0 
dvmaesc1 
dvmarev1 
dvmarev2 
dvmarev3 
dvmarevplus 
dvmahme 

Definition at line 36 of file sun_esp.c.

Function Documentation

MODULE_AUTHOR ( "David S. Miller ([email protected])"  )
MODULE_DESCRIPTION ( "Sun ESP SCSI driver )
MODULE_DEVICE_TABLE ( of  ,
esp_match   
)
module_exit ( sunesp_exit  )
module_init ( sunesp_init  )
MODULE_LICENSE ( "GPL"  )
MODULE_VERSION ( DRV_VERSION  )