Commit cd9be7d7 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Christoph Hellwig

[PATCH] remove eata_dma driver

Last changelog entry is from 1996 and it had no changes ecept global
search and replace since start of the bitkeeper history.

The alternate driver eata is maintained and the Kconfig file contains
a stong advice on using it.
parent e23a6bdf
......@@ -471,10 +471,6 @@ config SCSI_EATA
SCSI-HOWTO, available from
<http://www.linuxdoc.org/docs.html#howto>.
Note that there is also another driver for the same hardware
available: "EATA-DMA [Obsolete] (DPT, NEC, AT&T, SNI, AST, Olivetti,
Alphatronix) support". You should say Y to only one of them.
If you want to compile this as a module ( = code which can be
inserted in and removed from the running kernel whenever you want),
say M here and read <file:Documentation/modules.txt>. The module
......@@ -512,24 +508,6 @@ config SCSI_EATA_MAX_TAGS
by the driver for each probed SCSI device is reported at boot time.
This is equivalent to the "eata=mq:8" boot option.
config SCSI_EATA_DMA
tristate "EATA-DMA [Obsolete] (DPT, NEC, AT&T, SNI, AST, Olivetti, Alphatronix) support"
depends on SCSI
---help---
This is support for the EATA-DMA protocol compliant SCSI Host
Adapters like the SmartCache III/IV, SmartRAID controller families
and the DPT PM2011B and PM2012B controllers.
Note that this driver is obsolete; if you have one of the above
SCSI Host Adapters, you should normally say N here and Y to "EATA
ISA/EISA/PCI support", below. Please read the SCSI-HOWTO, available
from <http://www.linuxdoc.org/docs.html#howto>.
This driver is also available as a module ( = code which can be
inserted in and removed from the running kernel whenever you want).
The module will be called eata_dma. If you want to compile it as
a module, say M here and read <file:Documentation/modules.txt>.
config SCSI_EATA_PIO
tristate "EATA-PIO (old DPT PM2001, PM2012A) support"
depends on SCSI
......
......@@ -82,7 +82,6 @@ obj-$(CONFIG_SCSI_SYM53C8XX_2) += sym53c8xx_2/
obj-$(CONFIG_SCSI_SYM53C8XX) += sym53c8xx.o
obj-$(CONFIG_SCSI_NCR53C8XX) += ncr53c8xx.o
obj-$(CONFIG_SCSI_ZALON) += zalon7xx.o
obj-$(CONFIG_SCSI_EATA_DMA) += eata_dma.o
obj-$(CONFIG_SCSI_EATA_PIO) += eata_pio.o
obj-$(CONFIG_SCSI_7000FASST) += wd7000.o
obj-$(CONFIG_SCSI_MCA_53C9X) += NCR53C9x.o mca_53c9x.o
......
This diff is collapsed.
/********************************************************
* Header file for eata_dma.c Linux EATA-DMA SCSI driver *
* (c) 1993-96 Michael Neuffer *
* mike@i-Connect.Net *
* neuffer@mail.uni-mainz.de *
*********************************************************
* last change: 96/10/14 *
********************************************************/
#ifndef _EATA_DMA_H
#define _EATA_DMA_H
#include "eata_generic.h"
#define VER_MAJOR 2
#define VER_MINOR 5
#define VER_SUB "9b"
/************************************************************************
* Here you can switch parts of the code on and of *
************************************************************************/
#define CHECKPAL 0 /* EISA pal checking on/off */
#define CHECK_BLINK 1 /* Switch Blink state check off, might *
* be nessessary for some MIPS machines*/
#define CRIPPLE_QUEUE 0 /* Only enable this if the interrupt
* controller on your motherboard is
* broken and you are experiencing
* massive interrupt losses */
/************************************************************************
* Debug options. *
* Enable DEBUG and whichever options you require. *
************************************************************************/
#define DEBUG_EATA 1 /* Enable debug code. */
#define DPT_DEBUG 0 /* Bobs special */
#define DBG_DELAY 0 /* Build in delays so debug messages can be
* be read before they vanish of the top of
* the screen! */
#define DBG_PROBE 0 /* Debug probe routines. */
#define DBG_PCI 0 /* Trace PCI routines */
#define DBG_EISA 0 /* Trace EISA routines */
#define DBG_ISA 0 /* Trace ISA routines */
#define DBG_BLINK 0 /* Trace Blink check */
#define DBG_PIO 0 /* Trace get_config_PIO */
#define DBG_COM 0 /* Trace command call */
#define DBG_QUEUE 0 /* Trace command queueing. */
#define DBG_QUEUE2 0 /* Trace command queueing SG. */
#define DBG_INTR 0 /* Trace interrupt service routine. */
#define DBG_INTR2 0 /* Trace interrupt service routine. */
#define DBG_INTR3 0 /* Trace get_board_data interrupts. */
#define DBG_REQSENSE 0 /* Trace request sense commands */
#define DBG_RESET 0 /* Trace reset calls */
#define DBG_STATUS 0 /* Trace status generation */
#define DBG_PROC 0 /* Debug proc-fs related statistics */
#define DBG_PROC_WRITE 0
#define DBG_REGISTER 0 /* */
#define DBG_ABNORM 1 /* Debug abnormal actions (reset, abort)*/
#if DEBUG_EATA
#define DBG(x, y) if ((x)) {y;}
#else
#define DBG(x, y)
#endif
int eata_detect(Scsi_Host_Template *);
const char *eata_info(struct Scsi_Host *);
int eata_command(Scsi_Cmnd *);
int eata_queue(Scsi_Cmnd *, void (* done)(Scsi_Cmnd *));
int eata_abort(Scsi_Cmnd *);
int eata_reset(Scsi_Cmnd *, unsigned int);
int eata_proc_info(char *, char **, off_t, int, int, int);
#ifdef MODULE
int eata_release(struct Scsi_Host *);
#else
#define eata_release NULL
#endif
#include <scsi/scsicam.h>
#define EATA_DMA { \
.proc_info = eata_proc_info, /* procinfo */ \
.name = "EATA (Extended Attachment) HBA driver", \
.detect = eata_detect, \
.release = eata_release, \
.queuecommand = eata_queue, \
.abort = eata_abort, \
.reset = eata_reset, \
.unchecked_isa_dma = 1, /* True if ISA */ \
.use_clustering = ENABLE_CLUSTERING }
#endif /* _EATA_DMA_H */
/*
* Overrides for Emacs so that we almost follow Linus's tabbing style.
* Emacs will notice this stuff at the end of the file and automatically
* adjust the settings for this buffer only. This must remain at the end
* of the file.
* ---------------------------------------------------------------------------
* Local variables:
* c-indent-level: 4
* c-brace-imaginary-offset: 0
* c-brace-offset: -4
* c-argdecl-indent: 4
* c-label-offset: -4
* c-continued-statement-offset: 4
* c-continued-brace-offset: 0
* indent-tabs-mode: nil
* tab-width: 8
* End:
*/
This diff is collapsed.
struct lun_map {
__u8 id:5,
chan:3;
__u8 lun;
};
typedef struct emul_pp {
__u8 p_code:6,
null:1,
p_save:1;
__u8 p_length;
__u16 cylinder;
__u8 heads;
__u8 sectors;
__u8 null2;
__u8 s_lunmap:4,
ems:1;
__u16 drive_type; /* In Little Endian ! */
struct lun_map lunmap[4];
}emulpp;
/* Log Sense pages */
typedef struct log_sheader {
__u8 page_code,
reserved;
__u16 length;
}logsh;
/* Log Sense Statistics */
typedef struct read_command_statistics {
__u16 code; /* 0x01 */
__u8 flags;
__u8 length; /* 0x24 */
__u32 h_commands,
uncached,
la_cmds,
la_blks,
la_hits,
missed,
hits,
seq_la_blks,
seq_la_hits;
}r_cmd_stat;
typedef struct write_command_statistics {
__u16 code; /* 0x03 */
__u8 flags;
__u8 length; /* 0x28 */
__u32 h_commands,
uncached,
thru,
bypass,
soft_err,
hits,
b_idle,
b_activ,
b_blks,
b_blks_clean;
}w_cmd_stat;
typedef struct host_command_statistics {
__u16 code; /* 0x02, 0x04 */
__u8 flags;
__u8 length; /* 0x30 */
__u32 sizes[12];
}hst_cmd_stat;
typedef struct physical_command_statistics {
__u16 code; /* 0x06, 0x07 */
__u8 flags;
__u8 length; /* 0x34 */
__u32 sizes[13];
}phy_cmd_stat;
typedef struct misc_device_statistics {
__u16 code; /* 0x05 */
__u8 flags;
__u8 length; /* 0x10 */
__u32 disconnect,
pass_thru,
sg_commands,
stripe_boundary_crosses;
}msc_stats;
/* Configuration Pages */
typedef struct controller_configuration {
__u16 code; /* 0x01 */
__u8 flags;
__u8 length; /* 0x02 */
__u8 intt:1,
sec:1,
csh:1,
key:1,
tmr:1,
srs:1,
nvr:1;
__u8 interrupt;
}coco;
typedef struct controller_hardware_errors {
__u16 code; /* 0x02 */
__u8 flags;
__u8 length; /* 0x02 */
__u8 unused:1,
per:1;
__u8 interrupt;
}coher;
typedef struct memory_map {
__u16 code; /* 0x03, 0x04 */
__u8 flags;
__u8 length; /* 0x04 */
__u32 memory_map;
}mema;
typedef struct scsi_transfer {
__u16 code; /* 0x05 */
__u8 flags;
__u8 length; /* 0x04 */
__u8 offset,
period;
__u16 speed;
}scsitrans;
typedef struct scsi_modes {
__u16 code; /* 0x06 */
__u8 flags;
__u8 length; /* 0x02 */
__u8 que:1,
cdis:1,
wtru:1,
dasd:1,
ncr:1,
awre:1;
__u8 reserved;
}scsimod;
typedef struct host_bus {
__u16 code; /* 0x07 */
__u8 flags;
__u8 length; /* 0x02 */
__u8 speed:6,
pci:1,
eisa:1;
__u8 reserved;
}hobu;
typedef struct scsi_bus {
__u16 code; /* 0x08 */
__u8 flags;
__u8 length; /* 0x02 */
__u8 speed:4,
res:1,
ext:1,
wide:1,
dif:1;
__u8 busnum;
}scbu;
typedef struct board_type {
__u16 code; /* 0x09 */
__u8 flags;
__u8 length; /* 0x04 */
__u8 unused:1,
cmi:1,
dmi:1,
cm4k:1,
cm4:1,
dm4k:1,
dm4:1,
hba:1;
__u8 cpu_type,
cpu_speed;
__u8 sx1:1,
sx2:1,
unused2:4,
alrm:1,
srom:1;
}boty;
typedef struct memory_config {
__u16 code; /* 0x0a */
__u8 flags;
__u8 length; /* 0x04 */
__u8 banksize[4];
}memco;
typedef struct firmware_info {
__u16 code; /* 0x0b */
__u8 flags;
__u8 length; /* 0x04 */
__u8 dnld:1,
bs528:1,
fmt:1,
fw528:1;
__u8 unused1,
fw_type,
unused;
}firm;
typedef struct subsystem_info {
__u16 code; /* 0x0c */
__u8 flags;
__u8 length; /* 0x02 */
__u8 shlf:1,
swap:1,
noss:1;
__u8 reserved;
}subinf;
typedef struct per_channel_info {
__u16 code; /* 0x0d */
__u8 flags;
__u8 length; /* 0x02 */
__u8 channel;
__u8 shlf:1,
swap:1,
noss:1,
srs:1,
que:1,
ext:1,
wide:1,
diff:1;
}pcinf;
typedef struct array_limits {
__u16 code; /* 0x0e */
__u8 flags;
__u8 length; /* 0x04 */
__u8 max_groups,
raid0_drv,
raid35_drv,
unused;
}arrlim;
/*
* Overrides for Emacs so that we follow Linus's tabbing style.
* Emacs will notice this stuff at the end of the file and automatically
* adjust the settings for this buffer only. This must remain at the end
* of the file.
* ---------------------------------------------------------------------------
* Local variables:
* c-indent-level: 4
* c-brace-imaginary-offset: 0
* c-brace-offset: -4
* c-argdecl-indent: 4
* c-label-offset: -4
* c-continued-statement-offset: 4
* c-continued-brace-offset: 0
* indent-tabs-mode: nil
* tab-width: 8
* End:
*/
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment