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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [uclinux/] [uClinux-2.0.x/] [drivers/] [scsi/] [atp870u.h] - Blame information for rev 1765

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
#ifndef _ATP870U_H
2
 
3
/* $Id: atp870u.h,v 1.1.1.1 2001-09-10 07:44:31 simons Exp $
4
 *
5
 * Header file for the ACARD 870U/W driver for Linux
6
 *
7
 * $Log: not supported by cvs2svn $
8
 * Revision 1.1.1.1  2001/07/02 17:58:30  simons
9
 * Initial revision
10
 *
11
 * Revision 1.0  1997/05/07  15:09:00  root
12
 * Initial revision
13
 *
14
 */
15
 
16
#include <linux/types.h>
17
#include <linux/kdev_t.h>
18
 
19
/* I/O Port */
20
 
21
#define MAX_CDB 12
22
#define MAX_SENSE 14
23
 
24
int atp870u_detect(Scsi_Host_Template *);
25
int atp870u_command(Scsi_Cmnd *);
26
int atp870u_queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
27
int atp870u_abort(Scsi_Cmnd *);
28
int atp870u_reset(Scsi_Cmnd *, unsigned int);
29
int atp870u_biosparam(Disk *, kdev_t, int*);
30
void send_s870(unsigned char);
31
 
32
#define qcnt            32
33
#define ATP870U_SCATTER 127
34
#define ATP870U_CMDLUN 1
35
 
36
#ifndef NULL
37
        #define NULL 0
38
#endif
39
 
40
extern struct proc_dir_entry proc_scsi_atp870u;
41
 
42
extern const char *atp870u_info(struct Scsi_Host *);
43
 
44
extern int atp870u_proc_info(char *, char **, off_t, int, int, int);
45
 
46
#define ATP870U {  NULL, NULL,                          \
47
                     &proc_scsi_atp870u,/* proc_dir_entry */ \
48
                     atp870u_proc_info,                 \
49
                     NULL,                              \
50
                     atp870u_detect,                    \
51
                     NULL,                              \
52
                     atp870u_info,                      \
53
                     atp870u_command,                   \
54
                     atp870u_queuecommand,              \
55
                     atp870u_abort,                     \
56
                     atp870u_reset,                     \
57
                     NULL,                              \
58
                     atp870u_biosparam,                 \
59
                     qcnt,                              \
60
                     7,                                 \
61
                     ATP870U_SCATTER,                   \
62
                     ATP870U_CMDLUN,                    \
63
                     0,                                 \
64
                     0,                                 \
65
                     ENABLE_CLUSTERING}
66
 
67
#endif

powered by: WebSVN 2.1.0

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