7 * Copyright (C) 1994 Normunds Saumanis (normunds@rx.tech.swh.lv)
9 * This program is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU General Public License as published by the
11 * Free Software Foundation; either version 2, or (at your option) any
14 * This program is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
25 /* NOTE: scatter-gather support only works in PIO mode.
26 * Use SG_NONE if DMA mode is enabled!
28 #define NCR53c406a { \
29 proc_name: "NCR53c406a" /* proc_name */, \
30 name: "NCR53c406a" /* name */, \
31 detect: NCR53c406a_detect /* detect */, \
32 info: NCR53c406a_info /* info */, \
33 command: NCR53c406a_command /* command */, \
34 queuecommand: NCR53c406a_queue /* queuecommand */, \
35 abort: NCR53c406a_abort /* abort */, \
36 reset: NCR53c406a_reset /* reset */, \
37 bios_param: NCR53c406a_biosparm /* biosparm */, \
38 can_queue: 1 /* can_queue */, \
39 this_id: 7 /* SCSI ID of the chip */, \
40 sg_tablesize: 32 /*SG_ALL*/ /*SG_NONE*/, \
41 cmd_per_lun: 1 /* commands per lun */, \
42 unchecked_isa_dma: 1 /* unchecked_isa_dma */, \
43 use_clustering: ENABLE_CLUSTERING \
46 int NCR53c406a_detect(Scsi_Host_Template *);
47 const char* NCR53c406a_info(struct Scsi_Host *);
49 int NCR53c406a_command(Scsi_Cmnd *);
50 int NCR53c406a_queue(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
51 int NCR53c406a_abort(Scsi_Cmnd *);
52 int NCR53c406a_reset(Scsi_Cmnd *, unsigned int);
53 int NCR53c406a_biosparm(Disk *, kdev_t, int []);
55 #endif /* _NCR53C406A_H */
58 * Overrides for Emacs so that we get a uniform tabbing style.
59 * Emacs will notice this stuff at the end of the file and automatically
60 * adjust the settings for this buffer only. This must remain at the end
62 * ---------------------------------------------------------------------------
65 * c-brace-imaginary-offset: 0
69 * c-continued-statement-offset: 4
70 * c-continued-brace-offset: 0
71 * indent-tabs-mode: nil