OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [drivers/] [scsi/] [sun3x_esp.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
/* sun3x_esp.h: Defines and structures for the Sun3x ESP
2
 *
3
 * (C) 1995 Thomas Bogendoerfer (tsbogend@alpha.franken.de)
4
 */
5
 
6
#ifndef _SUN3X_ESP_H
7
#define _SUN3X_ESP_H
8
 
9
/* For dvma controller register definitions. */
10
#include <asm/dvma.h>
11
 
12
extern int sun3x_esp_detect(struct SHT *);
13
extern const char *esp_info(struct Scsi_Host *);
14
extern int esp_queue(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
15
extern int esp_command(Scsi_Cmnd *);
16
extern int esp_abort(Scsi_Cmnd *);
17
extern int esp_reset(Scsi_Cmnd *, unsigned int);
18
extern int esp_proc_info(char *buffer, char **start, off_t offset, int length,
19
                         int hostno, int inout);
20
 
21
#define DMA_PORTS_P        (dregs->cond_reg & DMA_INT_ENAB)
22
 
23
#define SCSI_SUN3X_ESP {                                        \
24
                proc_name:      "esp",                          \
25
                proc_info:      &esp_proc_info,                 \
26
                name:           "Sun ESP 100/100a/200",         \
27
                detect:         sun3x_esp_detect,               \
28
                info:           esp_info,                       \
29
                command:        esp_command,                    \
30
                queuecommand:   esp_queue,                      \
31
                abort:          esp_abort,                      \
32
                reset:          esp_reset,                      \
33
                can_queue:      7,                              \
34
                this_id:        7,                              \
35
                sg_tablesize:   SG_ALL,                         \
36
                cmd_per_lun:    1,                              \
37
                use_clustering: DISABLE_CLUSTERING, }
38
 
39
#endif /* !(_SUN3X_ESP_H) */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.