summaryrefslogtreecommitdiff
path: root/drivers/scsi/gdth.h
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-07-17 05:25:17 -0400
committerJames Bottomley <jejb@mulgrave.localdomain>2007-07-31 10:36:30 -0500
commit8e9a8a0d56c5d9d87adbefbbc8c8728c529fd95a (patch)
tree74b07260b2ed5cb1fe8e1ebe2b9030eecc485f8b /drivers/scsi/gdth.h
parent7603e02eac309626c0153ebddf277253ea7fe0e0 (diff)
downloadlinux-3.10-8e9a8a0d56c5d9d87adbefbbc8c8728c529fd95a.tar.gz
linux-3.10-8e9a8a0d56c5d9d87adbefbbc8c8728c529fd95a.tar.bz2
linux-3.10-8e9a8a0d56c5d9d87adbefbbc8c8728c529fd95a.zip
[SCSI] gdth: remove redundant PCI stuff
This patch * removes struct members that duplicate pci_dev members * replaces ha->stype usage with ha->pdev->device usage where feasible Signed-off-by: Jeff Garzik <jeff@garzik.org> Acked-by: Christoph Hellwig <hch@lst.de> Acked-by: Achim Leubner <Achim_Leubner@adaptec.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/gdth.h')
-rw-r--r--drivers/scsi/gdth.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/scsi/gdth.h b/drivers/scsi/gdth.h
index 8c29eafd51c..37423300592 100644
--- a/drivers/scsi/gdth.h
+++ b/drivers/scsi/gdth.h
@@ -845,11 +845,6 @@ typedef struct {
/* PCI resources */
typedef struct {
struct pci_dev *pdev;
- ushort vendor_id; /* vendor (ICP, Intel, ..) */
- ushort device_id; /* device ID (0,..,9) */
- ushort subdevice_id; /* sub device ID */
- unchar bus; /* PCI bus */
- unchar device_fn; /* PCI device/function no. */
ulong dpmem; /* DPRAM address */
ulong io; /* IO address */
ulong io_mm; /* IO address mem. mapped */
@@ -862,7 +857,6 @@ typedef struct {
ushort oem_id; /* OEM */
ushort type; /* controller class */
ulong32 stype; /* subtype (PCI: device ID) */
- ushort subdevice_id; /* sub device ID (PCI) */
ushort fw_vers; /* firmware version */
ushort cache_feat; /* feat. cache serv. (s/g,..)*/
ushort raw_feat; /* feat. raw service (s/g,..)*/