summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/gdth.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2007-10-02 23:09:56 +0200
committerJames Bottomley <jejb@mulgrave.localdomain>2007-10-12 14:55:55 -0400
commit835cc24aff0fd4b9da9d0a45d9bd043adcb2cf89 (patch)
treecabe4c3c01410a4a3ad4d2b3021f3a2d6350529e /drivers/scsi/gdth.h
parent10e1b4bc9238687a4b1311bd5b6769d6b8c704e6 (diff)
downloadkernel-crypto-835cc24aff0fd4b9da9d0a45d9bd043adcb2cf89.tar.gz
kernel-crypto-835cc24aff0fd4b9da9d0a45d9bd043adcb2cf89.tar.xz
kernel-crypto-835cc24aff0fd4b9da9d0a45d9bd043adcb2cf89.zip
[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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/gdth.h b/drivers/scsi/gdth.h
index e8b9eb771d3..e6178c42185 100644
--- a/drivers/scsi/gdth.h
+++ b/drivers/scsi/gdth.h
@@ -854,6 +854,7 @@ typedef struct {
/* controller information structure */
typedef struct {
struct Scsi_Host *shost;
+ struct list_head list;
ushort hanum;
ushort oem_id; /* OEM */
ushort type; /* controller class */