diff options
Diffstat (limited to 'drivers/scsi/gdth.h')
-rw-r--r-- | drivers/scsi/gdth.h | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/drivers/scsi/gdth.h b/drivers/scsi/gdth.h index 68845873cf9d..e8b9eb771d36 100644 --- a/drivers/scsi/gdth.h +++ b/drivers/scsi/gdth.h | |||
@@ -853,6 +853,8 @@ typedef struct { | |||
853 | 853 | ||
854 | /* controller information structure */ | 854 | /* controller information structure */ |
855 | typedef struct { | 855 | typedef struct { |
856 | struct Scsi_Host *shost; | ||
857 | ushort hanum; | ||
856 | ushort oem_id; /* OEM */ | 858 | ushort oem_id; /* OEM */ |
857 | ushort type; /* controller class */ | 859 | ushort type; /* controller class */ |
858 | ulong32 stype; /* subtype (PCI: device ID) */ | 860 | ulong32 stype; /* subtype (PCI: device ID) */ |
@@ -864,6 +866,7 @@ typedef struct { | |||
864 | void __iomem *brd; /* DPRAM address */ | 866 | void __iomem *brd; /* DPRAM address */ |
865 | ulong32 brd_phys; /* slot number/BIOS address */ | 867 | ulong32 brd_phys; /* slot number/BIOS address */ |
866 | gdt6c_plx_regs *plx; /* PLX regs (new PCI contr.) */ | 868 | gdt6c_plx_regs *plx; /* PLX regs (new PCI contr.) */ |
869 | gdth_cmd_str cmdext; | ||
867 | gdth_cmd_str *pccb; /* address command structure */ | 870 | gdth_cmd_str *pccb; /* address command structure */ |
868 | ulong32 ccb_phys; /* phys. address */ | 871 | ulong32 ccb_phys; /* phys. address */ |
869 | #ifdef INT_COAL | 872 | #ifdef INT_COAL |
@@ -937,20 +940,6 @@ typedef struct { | |||
937 | struct scsi_device *sdev; | 940 | struct scsi_device *sdev; |
938 | } gdth_ha_str; | 941 | } gdth_ha_str; |
939 | 942 | ||
940 | /* structure for scsi_register(), SCSI bus != 0 */ | ||
941 | typedef struct { | ||
942 | ushort hanum; | ||
943 | ushort busnum; | ||
944 | } gdth_num_str; | ||
945 | |||
946 | /* structure for scsi_register() */ | ||
947 | typedef struct { | ||
948 | gdth_num_str numext; /* must be the first element */ | ||
949 | gdth_ha_str haext; | ||
950 | gdth_cmd_str cmdext; | ||
951 | } gdth_ext_str; | ||
952 | |||
953 | |||
954 | /* INQUIRY data format */ | 943 | /* INQUIRY data format */ |
955 | typedef struct { | 944 | typedef struct { |
956 | unchar type_qual; | 945 | unchar type_qual; |