1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
/*
* sym53c416.h
*
* Copyright (C) 1998 Lieven Willems (lw_linux@hotmail.com)
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2, or (at your option) any
* later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
*/
#ifndef _SYM53C416_H
#define _SYM53C416_H
#if !defined(LINUX_VERSION_CODE)
#include <linux/version.h>
#endif
#ifndef LinuxVersionCode
#define LinuxVersionCode(v, p, s) (((v)<<16)+((p)<<8)+(s))
#endif
#include <linux/types.h>
#include <linux/kdev_t.h>
#define SYM53C416_SCSI_ID 7
extern int sym53c416_detect(Scsi_Host_Template *);
extern const char *sym53c416_info(struct Scsi_Host *);
extern int sym53c416_command(Scsi_Cmnd *);
extern int sym53c416_queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
extern int sym53c416_abort(Scsi_Cmnd *);
extern int sym53c416_reset(Scsi_Cmnd *, unsigned int);
extern int sym53c416_bios_param(Disk *, kdev_t, int *);
extern void sym53c416_setup(char *str, int *ints);
#define SYM53C416 { \
proc_name: "sym53c416", \
name: "Symbios Logic 53c416", \
detect: sym53c416_detect, \
info: sym53c416_info, \
command: sym53c416_command, \
queuecommand: sym53c416_queuecommand, \
abort: sym53c416_abort, \
reset: sym53c416_reset, \
bios_param: sym53c416_bios_param, \
can_queue: 1, \
this_id: SYM53C416_SCSI_ID, \
sg_tablesize: 32, \
cmd_per_lun: 1, \
unchecked_isa_dma: 1, \
use_clustering: ENABLE_CLUSTERING \
}
#endif
|