Linux Kernel
3.7.1
|
#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 | cumanascsi2_info |
Macros | |
#define | CUMANASCSI2_STATUS (0x0000) |
#define | STATUS_INT (1 << 0) |
#define | STATUS_DRQ (1 << 1) |
#define | STATUS_LATCHED (1 << 3) |
#define | CUMANASCSI2_ALATCH (0x0014) |
#define | ALATCH_ENA_INT (3) |
#define | ALATCH_DIS_INT (2) |
#define | ALATCH_ENA_TERM (5) |
#define | ALATCH_DIS_TERM (4) |
#define | ALATCH_ENA_BIT32 (11) |
#define | ALATCH_DIS_BIT32 (10) |
#define | ALATCH_ENA_DMA (13) |
#define | ALATCH_DIS_DMA (12) |
#define | ALATCH_DMA_OUT (15) |
#define | ALATCH_DMA_IN (14) |
#define | CUMANASCSI2_PSEUDODMA (0x0200) |
#define | CUMANASCSI2_FAS216_OFFSET (0x0300) |
#define | CUMANASCSI2_FAS216_SHIFT 2 |
#define | VERSION "1.00 (13/11/2002 2.5.47)" |
#define | NR_SG 256 |
#define | CSTATUS_IRQ (1 << 0) |
#define | CSTATUS_DRQ (1 << 1) |
Functions | |
const char * | cumanascsi_2_info (struct Scsi_Host *host) |
int | cumanascsi_2_proc_info (struct Scsi_Host *host, char *buffer, char **start, off_t offset, int length, int inout) |
module_init (cumanascsi2_init) | |
module_exit (cumanascsi2_exit) | |
MODULE_AUTHOR ("Russell King") | |
MODULE_DESCRIPTION ("Cumana SCSI-2 driver for Acorn machines") | |
module_param_array (term, int, NULL, 0) | |
MODULE_PARM_DESC (term,"SCSI bus termination") | |
MODULE_LICENSE ("GPL") | |
#define ALATCH_DIS_BIT32 (10) |
Definition at line 53 of file cumana_2.c.
#define ALATCH_DIS_DMA (12) |
Definition at line 55 of file cumana_2.c.
#define ALATCH_DIS_INT (2) |
Definition at line 49 of file cumana_2.c.
#define ALATCH_DIS_TERM (4) |
Definition at line 51 of file cumana_2.c.
#define ALATCH_DMA_IN (14) |
Definition at line 57 of file cumana_2.c.
#define ALATCH_DMA_OUT (15) |
Definition at line 56 of file cumana_2.c.
#define ALATCH_ENA_BIT32 (11) |
Definition at line 52 of file cumana_2.c.
#define ALATCH_ENA_DMA (13) |
Definition at line 54 of file cumana_2.c.
#define ALATCH_ENA_INT (3) |
Definition at line 48 of file cumana_2.c.
#define ALATCH_ENA_TERM (5) |
Definition at line 50 of file cumana_2.c.
#define CSTATUS_DRQ (1 << 1) |
Definition at line 85 of file cumana_2.c.
#define CSTATUS_IRQ (1 << 0) |
Definition at line 84 of file cumana_2.c.
#define CUMANASCSI2_ALATCH (0x0014) |
Definition at line 47 of file cumana_2.c.
#define CUMANASCSI2_FAS216_OFFSET (0x0300) |
Definition at line 61 of file cumana_2.c.
#define CUMANASCSI2_FAS216_SHIFT 2 |
Definition at line 62 of file cumana_2.c.
#define CUMANASCSI2_PSEUDODMA (0x0200) |
Definition at line 59 of file cumana_2.c.
#define CUMANASCSI2_STATUS (0x0000) |
Definition at line 42 of file cumana_2.c.
#define NR_SG 256 |
Definition at line 74 of file cumana_2.c.
#define STATUS_DRQ (1 << 1) |
Definition at line 44 of file cumana_2.c.
#define STATUS_INT (1 << 0) |
Definition at line 43 of file cumana_2.c.
#define STATUS_LATCHED (1 << 3) |
Definition at line 45 of file cumana_2.c.
#define VERSION "1.00 (13/11/2002 2.5.47)" |
Definition at line 67 of file cumana_2.c.
int cumanascsi_2_proc_info | ( | struct Scsi_Host * | host, |
char * | buffer, | ||
char ** | start, | ||
off_t | offset, | ||
int | length, | ||
int | inout | ||
) |
Definition at line 353 of file cumana_2.c.
MODULE_AUTHOR | ( | "Russell King" | ) |
module_exit | ( | cumanascsi2_exit | ) |
module_init | ( | cumanascsi2_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
MODULE_PARM_DESC | ( | term | , |
"SCSI bus termination" | |||
) |