diff options
author | Michal Piotrowski <michal.k.k.piotrowski@gmail.com> | 2006-09-25 19:59:03 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-09-26 14:35:16 -0400 |
commit | c03d10ab6aafe6706520e1595d6e91d0e50ac5ad (patch) | |
tree | df3f29527ef1b199e40f68b871b8044c28f6368a /drivers/scsi/gdth.h | |
parent | 288777f89a63ca0bece7b5e082ce9beebacfb8fd (diff) |
[SCSI] drivers/scsi/gdth.h: removal of old scsi code
Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/gdth.h')
-rw-r--r-- | drivers/scsi/gdth.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/scsi/gdth.h b/drivers/scsi/gdth.h index 47eae029975..8c29eafd51c 100644 --- a/drivers/scsi/gdth.h +++ b/drivers/scsi/gdth.h | |||
@@ -936,18 +936,12 @@ typedef struct { | |||
936 | gdth_binfo_str binfo; /* controller info */ | 936 | gdth_binfo_str binfo; /* controller info */ |
937 | gdth_evt_data dvr; /* event structure */ | 937 | gdth_evt_data dvr; /* event structure */ |
938 | spinlock_t smp_lock; | 938 | spinlock_t smp_lock; |
939 | #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0) | ||
940 | struct pci_dev *pdev; | 939 | struct pci_dev *pdev; |
941 | #endif | ||
942 | char oem_name[8]; | 940 | char oem_name[8]; |
943 | #ifdef GDTH_DMA_STATISTICS | 941 | #ifdef GDTH_DMA_STATISTICS |
944 | ulong dma32_cnt, dma64_cnt; /* statistics: DMA buffer */ | 942 | ulong dma32_cnt, dma64_cnt; /* statistics: DMA buffer */ |
945 | #endif | 943 | #endif |
946 | #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0) | ||
947 | struct scsi_device *sdev; | 944 | struct scsi_device *sdev; |
948 | #else | ||
949 | struct scsi_device sdev; | ||
950 | #endif | ||
951 | } gdth_ha_str; | 945 | } gdth_ha_str; |
952 | 946 | ||
953 | /* structure for scsi_register(), SCSI bus != 0 */ | 947 | /* structure for scsi_register(), SCSI bus != 0 */ |
@@ -1029,10 +1023,6 @@ typedef struct { | |||
1029 | 1023 | ||
1030 | /* function prototyping */ | 1024 | /* function prototyping */ |
1031 | 1025 | ||
1032 | #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) | ||
1033 | int gdth_proc_info(struct Scsi_Host *, char *,char **,off_t,int,int); | 1026 | int gdth_proc_info(struct Scsi_Host *, char *,char **,off_t,int,int); |
1034 | #else | ||
1035 | int gdth_proc_info(char *,char **,off_t,int,int,int); | ||
1036 | #endif | ||
1037 | 1027 | ||
1038 | #endif | 1028 | #endif |