diff options
Diffstat (limited to 'drivers/scsi/gdth.h')
-rw-r--r-- | drivers/scsi/gdth.h | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/drivers/scsi/gdth.h b/drivers/scsi/gdth.h index bf269f05ea8e..c0f1e3411524 100644 --- a/drivers/scsi/gdth.h +++ b/drivers/scsi/gdth.h | |||
@@ -1029,51 +1029,10 @@ typedef struct { | |||
1029 | 1029 | ||
1030 | /* function prototyping */ | 1030 | /* function prototyping */ |
1031 | 1031 | ||
1032 | int gdth_detect(Scsi_Host_Template *); | ||
1033 | int gdth_release(struct Scsi_Host *); | ||
1034 | int gdth_queuecommand(Scsi_Cmnd *,void (*done)(Scsi_Cmnd *)); | ||
1035 | const char *gdth_info(struct Scsi_Host *); | ||
1036 | |||
1037 | #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) | 1032 | #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) |
1038 | int gdth_bios_param(struct scsi_device *,struct block_device *,sector_t,int *); | ||
1039 | int gdth_proc_info(struct Scsi_Host *, char *,char **,off_t,int,int); | 1033 | int gdth_proc_info(struct Scsi_Host *, char *,char **,off_t,int,int); |
1040 | #elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0) | ||
1041 | int gdth_bios_param(Disk *,kdev_t,int *); | ||
1042 | int gdth_proc_info(char *,char **,off_t,int,int,int); | ||
1043 | #else | 1034 | #else |
1044 | int gdth_bios_param(Disk *,kdev_t,int *); | ||
1045 | extern struct proc_dir_entry proc_scsi_gdth; | ||
1046 | int gdth_proc_info(char *,char **,off_t,int,int,int); | 1035 | int gdth_proc_info(char *,char **,off_t,int,int,int); |
1047 | int gdth_abort(Scsi_Cmnd *); | ||
1048 | int gdth_reset(Scsi_Cmnd *,unsigned int); | ||
1049 | #define GDTH { proc_dir: &proc_scsi_gdth, \ | ||
1050 | proc_info: gdth_proc_info, \ | ||
1051 | name: "GDT SCSI Disk Array Controller",\ | ||
1052 | detect: gdth_detect, \ | ||
1053 | release: gdth_release, \ | ||
1054 | info: gdth_info, \ | ||
1055 | command: NULL, \ | ||
1056 | queuecommand: gdth_queuecommand, \ | ||
1057 | eh_abort_handler: gdth_eh_abort, \ | ||
1058 | eh_device_reset_handler: gdth_eh_device_reset, \ | ||
1059 | eh_bus_reset_handler: gdth_eh_bus_reset, \ | ||
1060 | eh_host_reset_handler: gdth_eh_host_reset, \ | ||
1061 | abort: gdth_abort, \ | ||
1062 | reset: gdth_reset, \ | ||
1063 | bios_param: gdth_bios_param, \ | ||
1064 | can_queue: GDTH_MAXCMDS, \ | ||
1065 | this_id: -1, \ | ||
1066 | sg_tablesize: GDTH_MAXSG, \ | ||
1067 | cmd_per_lun: GDTH_MAXC_P_L, \ | ||
1068 | present: 0, \ | ||
1069 | unchecked_isa_dma: 1, \ | ||
1070 | use_clustering: ENABLE_CLUSTERING, \ | ||
1071 | use_new_eh_code: 1 /* use new error code */ } | ||
1072 | #endif | 1036 | #endif |
1073 | 1037 | ||
1074 | int gdth_eh_abort(Scsi_Cmnd *scp); | ||
1075 | int gdth_eh_device_reset(Scsi_Cmnd *scp); | ||
1076 | int gdth_eh_bus_reset(Scsi_Cmnd *scp); | ||
1077 | int gdth_eh_host_reset(Scsi_Cmnd *scp); | ||
1078 | |||
1079 | #endif | 1038 | #endif |