Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/gfp.h>
#include <linux/types.h>
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <linux/interrupt.h>
#include <asm/sun3x.h>
#include <asm/io.h>
#include <asm/dma.h>
#include <asm/dvma.h>
#include <scsi/scsi_host.h>
#include "esp_scsi.h"
Go to the source code of this file.
Macros | |
#define | DMA_CSR 0x00UL /* rw DMA control/status register 0x00 */ |
#define | DMA_ADDR 0x04UL /* rw DMA transfer address register 0x04 */ |
#define | DMA_COUNT 0x08UL /* rw DMA transfer count register 0x08 */ |
#define | DMA_TEST 0x0cUL /* rw DMA test/debug register 0x0c */ |
#define | DRV_MODULE_NAME "sun3x_esp" |
#define | PFX DRV_MODULE_NAME ": " |
#define | DRV_VERSION "1.000" |
#define | DRV_MODULE_RELDATE "Nov 1, 2007" |
#define | dma_read32(REG) *(volatile u32 *)(esp->dma_regs + (REG)) |
#define | dma_write32(VAL, REG) do { *(volatile u32 *)(esp->dma_regs + (REG)) = (VAL); } while (0) |
Functions | |
MODULE_DESCRIPTION ("Sun3x ESP SCSI driver") | |
MODULE_AUTHOR ("Thomas Bogendoerfer ([email protected])") | |
MODULE_LICENSE ("GPL") | |
MODULE_VERSION (DRV_VERSION) | |
module_init (sun3x_esp_init) | |
module_exit (sun3x_esp_exit) | |
MODULE_ALIAS ("platform:sun3x_esp") | |
#define DMA_ADDR 0x04UL /* rw DMA transfer address register 0x04 */ |
Definition at line 23 of file sun3x_esp.c.
#define DMA_COUNT 0x08UL /* rw DMA transfer count register 0x08 */ |
Definition at line 24 of file sun3x_esp.c.
#define DMA_CSR 0x00UL /* rw DMA control/status register 0x00 */ |
Definition at line 22 of file sun3x_esp.c.
Definition at line 47 of file sun3x_esp.c.
#define DMA_TEST 0x0cUL /* rw DMA test/debug register 0x0c */ |
Definition at line 25 of file sun3x_esp.c.
Definition at line 49 of file sun3x_esp.c.
#define DRV_MODULE_NAME "sun3x_esp" |
Definition at line 31 of file sun3x_esp.c.
#define DRV_MODULE_RELDATE "Nov 1, 2007" |
Definition at line 34 of file sun3x_esp.c.
#define DRV_VERSION "1.000" |
Definition at line 33 of file sun3x_esp.c.
#define PFX DRV_MODULE_NAME ": " |
Definition at line 32 of file sun3x_esp.c.
MODULE_ALIAS | ( | "platform:sun3x_esp" | ) |
MODULE_AUTHOR | ( | "Thomas Bogendoerfer ([email protected])" | ) |
module_exit | ( | sun3x_esp_exit | ) |
module_init | ( | sun3x_esp_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
MODULE_VERSION | ( | DRV_VERSION | ) |