diff options
author | Christoph Hellwig <hch@lst.de> | 2007-10-02 17:09:56 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-10-12 14:55:55 -0400 |
commit | 835cc24aff0fd4b9da9d0a45d9bd043adcb2cf89 (patch) | |
tree | cabe4c3c01410a4a3ad4d2b3021f3a2d6350529e /drivers/scsi/gdth.h | |
parent | 10e1b4bc9238687a4b1311bd5b6769d6b8c704e6 (diff) |
[SCSI] gdth: switch to modern scsi host registration
- Use scsi_add_host and friends and track instances ourselves. And
generally modernize the driver's structure.
- TODO: Next we can remove the controller table
- TODO: Fix use of deprecated pci_find_device()
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/gdth.h')
-rw-r--r-- | drivers/scsi/gdth.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/gdth.h b/drivers/scsi/gdth.h index e8b9eb771d36..e6178c421855 100644 --- a/drivers/scsi/gdth.h +++ b/drivers/scsi/gdth.h | |||
@@ -854,6 +854,7 @@ typedef struct { | |||
854 | /* controller information structure */ | 854 | /* controller information structure */ |
855 | typedef struct { | 855 | typedef struct { |
856 | struct Scsi_Host *shost; | 856 | struct Scsi_Host *shost; |
857 | struct list_head list; | ||
857 | ushort hanum; | 858 | ushort hanum; |
858 | ushort oem_id; /* OEM */ | 859 | ushort oem_id; /* OEM */ |
859 | ushort type; /* controller class */ | 860 | ushort type; /* controller class */ |