1#ifndef MVME147_H 2 3/* $Id: mvme147.h,v 1.1.1.1 2008/10/15 03:26:54 james26_jang Exp $ 4 * 5 * Header file for the MVME147 built-in SCSI controller for Linux 6 * 7 * Written and (C) 1993, Hamish Macdonald, see mvme147.c for more info 8 * 9 */ 10 11#include <linux/types.h> 12 13int mvme147_detect(Scsi_Host_Template *); 14int mvme147_release(struct Scsi_Host *); 15const char *wd33c93_info(void); 16int wd33c93_queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *)); 17int wd33c93_abort(Scsi_Cmnd *); 18int wd33c93_reset(Scsi_Cmnd *, unsigned int); 19 20#ifndef NULL 21#define NULL 0 22#endif 23 24#ifndef CMD_PER_LUN 25#define CMD_PER_LUN 2 26#endif 27 28#ifndef CAN_QUEUE 29#define CAN_QUEUE 16 30#endif 31 32#ifdef HOSTS_C 33 34#define MVME147_SCSI {proc_name: "MVME147", \ 35 proc_info: NULL, \ 36 name: "MVME147 built-in SCSI", \ 37 detect: mvme147_detect, \ 38 release: mvme147_release, \ 39 queuecommand: wd33c93_queuecommand, \ 40 abort: wd33c93_abort, \ 41 reset: wd33c93_reset, \ 42 can_queue: CAN_QUEUE, \ 43 this_id: 7, \ 44 sg_tablesize: SG_ALL, \ 45 cmd_per_lun: CMD_PER_LUN, \ 46 use_clustering: ENABLE_CLUSTERING } 47 48#endif /* else def HOSTS_C */ 49 50#endif /* MVME147_H */ 51