1 #ifndef _NCR53C406A_H 2 #define _NCR53C406A_H 3 4 /* 5 * NCR53c406a.h 6 * 7 * Copyright (C) 1994 Normunds Saumanis (normunds@rx.tech.swh.lv) 8 * 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 12 * later version. 13 * 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. 18 * 19 */ 20 21 #ifndef NULL 22 #define NULL 0 23 #endif 24 25 /* NOTE: scatter-gather support only works in PIO mode. 26 * Use SG_NONE if DMA mode is enabled! 27 */ 28 #define NCR53c406a { \ 29 NULL /* next */, \ 30 NULL /* usage count */, \ 31 &proc_scsi_NCR53c406a /* proc_dir */, \ 32 NULL /* proc_info */, \ 33 "NCR53c406a" /* name */, \ 34 NCR53c406a_detect /* detect */, \ 35 NULL /* release */, \ 36 NCR53c406a_info /* info */, \ 37 NCR53c406a_command /* command */, \ 38 NCR53c406a_queue /* queuecommand */, \ 39 NCR53c406a_abort /* abort */, \ 40 NCR53c406a_reset /* reset */, \ 41 NULL /* slave_attach */, \ 42 NCR53c406a_biosparm /* biosparm */, \ 43 1 /* can_queue */, \ 44 7 /* SCSI ID of the chip */, \ 45 32 /*SG_ALL*/ /*SG_NONE*/, \ 46 1 /* commands per lun */, \ 47 0 /* number of boards in system */, \ 48 1 /* unchecked_isa_dma */, \ 49 ENABLE_CLUSTERING \ 50 } 51 52 extern struct proc_dir_entry proc_scsi_NCR53c406a; 53 54 int NCR53c406a_detect(Scsi_Host_Template *); 55 const char* NCR53c406a_info(struct Scsi_Host *); 56 57 int NCR53c406a_command(Scsi_Cmnd *); 58 int NCR53c406a_queue(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *)); 59 int NCR53c406a_abort(Scsi_Cmnd *); 60 int NCR53c406a_reset(Scsi_Cmnd *); 61 int NCR53c406a_biosparm(Disk *, kdev_t, int []); 62 63 #endif /* _NCR53C406A_H */ 64 65 /* 66 * Overrides for Emacs so that we get a uniform tabbing style. 67 * Emacs will notice this stuff at the end of the file and automatically 68 * adjust the settings for this buffer only. This must remain at the end 69 * of the file. 70 * --------------------------------------------------------------------------- 71 * Local variables: 72 * c-indent-level: 4 73 * c-brace-imaginary-offset: 0 74 * c-brace-offset: -4 75 * c-argdecl-indent: 4 76 * c-label-offset: -4 77 * c-continued-statement-offset: 4 78 * c-continued-brace-offset: 0 79 * indent-tabs-mode: nil 80 * tab-width: 8 81 * End: 82 */ 83