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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [drivers/] [scsi/] [dc390.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
/***********************************************************************
2
 *      FILE NAME : DC390.H                                            *
3
 *           BY   : C.L. Huang                                         *
4
 *      Description: Device Driver for Tekram DC-390(T) PCI SCSI       *
5
 *                   Bus Master Host Adapter                           *
6
 ***********************************************************************/
7
/* $Id: dc390.h,v 1.1 2005-12-20 10:17:45 jcastillo Exp $ */
8
 
9
#include <linux/version.h>
10
 
11
/*
12
 * DC390/AMD 53C974 driver, header file
13
 */
14
 
15
#ifndef DC390_H
16
#define DC390_H
17
 
18
#define DC390_BANNER "Tekram DC390/AM53C974"
19
#define DC390_VERSION "2.0d 1998/12/25"
20
 
21
#if defined(HOSTS_C) || defined(MODULE)
22
 
23
#include <scsi/scsicam.h>
24
 
25
extern int DC390_detect(Scsi_Host_Template *psht);
26
extern int DC390_queue_command(Scsi_Cmnd *cmd, void (*done)(Scsi_Cmnd *));
27
extern int DC390_abort(Scsi_Cmnd *cmd);
28
extern int DC390_reset(Scsi_Cmnd *cmd, unsigned int resetFlags);
29
extern int DC390_bios_param(Disk *disk, kdev_t devno, int geom[]);
30
 
31
#ifdef MODULE
32
static int DC390_release(struct Scsi_Host *);
33
#else
34
# define DC390_release NULL
35
#endif
36
 
37
extern struct proc_dir_entry DC390_proc_scsi_tmscsim;
38
extern int DC390_proc_info(char *buffer, char **start, off_t offset, int length, int hostno, int inout);
39
 
40
#define DC390_T    {                                    \
41
   proc_dir:       &DC390_proc_scsi_tmscsim,            \
42
   proc_info:      DC390_proc_info,                     \
43
   name:           DC390_BANNER " V" DC390_VERSION,     \
44
   detect:         DC390_detect,                        \
45
   release:        DC390_release,                       \
46
   queuecommand:   DC390_queue_command,                 \
47
   abort:          DC390_abort,                         \
48
   reset:          DC390_reset,                         \
49
   bios_param:     DC390_bios_param,                    \
50
   can_queue:      17,                                  \
51
   this_id:        7,                                   \
52
   sg_tablesize:   SG_ALL,                              \
53
   cmd_per_lun:    8,                                   \
54
   use_clustering: DISABLE_CLUSTERING                   \
55
   }
56
 
57
#endif /* defined(HOSTS_C) || defined(MODULE) */
58
 
59
#endif /* DC390_H */

powered by: WebSVN 2.1.0

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