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