#include <linux/module.h>
#include <linux/signal.h>
#include <linux/blkdev.h>
#include <linux/delay.h>
#include <linux/stat.h>
#include <linux/string.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include "scsi.h"
#include <scsi/scsi_host.h>
#include "dtc.h"
#include "NCR5380.h"
#include "NCR5380.c"
#include "scsi_module.c"
Go to the source code of this file.
|
struct | override |
|
struct | base |
|
struct | signature |
|
Definition at line 87 of file dtc.c.
Definition at line 2 of file dtc.c.
#define CSR_5380_INTR 0x10 /* rw Enable 5380 interrupts */ |
#define CSR_5380_REG 0x80 /* ro 5380 registers can be accessed */ |
#define CSR_DIR_READ 0x40 /* rw direction, 1 = read 0 = write */ |
#define CSR_GATED_5380_IRQ 0x01 /* ro Last block xferred */ |
#define CSR_HOST_BUF_NOT_RDY 0x04 /* ro Host buffer not ready */ |
#define CSR_RESET 0x80 /* wo Resets 53c400 */ |
#define CSR_SCSI_BUF_RDY 0x02 /* ro SCSI buffer ready */ |
#define CSR_SCSI_BUFF_INTR 0x20 /* rw Enable int on transfer ready */ |
#define CSR_SHARED_INTR 0x08 /* rw Interrupt sharing */ |
#define CSR_TRANS_DIR 0x40 /* rw Data transfer direction */ |
#define D_CR_ACCESS 0x80 /* ro set=can access 3280 registers */ |
#define D_CR_ACCESS 0x80 /* ro set=can access 3280 registers */ |
Definition at line 8 of file dtc.c.
Definition at line 4 of file dtc.c.
#define DTC_5380_OFFSET 0x3880 /* 8 registers here, see NCR5380.h */ |
Value:
Definition at line 117 of file dtc.c.
#define DTC_CONTROL_REG 0x100 /* rw */ |
#define DTC_DATA_BUF 0x3900 /* rw 128 bytes long */ |
!!! for dtc, it's a 128 byte buffer at 3900 !!!
Definition at line 128 of file dtc.c.
#define DTC_PUBLIC_RELEASE 2 |
Definition at line 91 of file dtc.c.
Value:
Definition at line 123 of file dtc.c.
#define DTC_SWITCH_REG 0x3982 /* ro - DIP switches */ |
Definition at line 3 of file dtc.c.
Definition at line 71 of file dtc.c.
#define UNSAFE /* Leave interrupts enabled during pseudo-dma I/O */ |
Definition at line 5 of file dtc.c.
Value:
Definition at line 6 of file dtc.c.