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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [drivers/] [scsi/] [atp870u.h] - Blame information for rev 1777

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

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

powered by: WebSVN 2.1.0

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