diff options
author | Eddie Wai <eddie.wai@broadcom.com> | 2012-06-30 01:37:35 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-07-08 10:52:03 +0200 |
commit | a77171806515fb5e2288219ddb47af1f0b1328e7 (patch) | |
tree | 5418dbacedd6c89ef6652d756b94957499c101ea /drivers/scsi/bnx2i/bnx2i.h | |
parent | [SCSI] libsas: fix taskfile corruption in sas_ata_qc_fill_rtf (diff) | |
download | linux-a77171806515fb5e2288219ddb47af1f0b1328e7.tar.xz linux-a77171806515fb5e2288219ddb47af1f0b1328e7.zip |
[SCSI] bnx2i: Removed the reference to the netdev->base_addr
The netdev->base_addr parameter has been deprecated in the L2 bnx2
driver. This is used by bnx2i for the BARn iomapping.
This patch will directly reference the pci_resource_start instead
of using the deprecated netdev->base_addr.
This patch is actually a critical bug fix as the 1G bnx2 driver no
longer supports the netdev->base_addr in the current kernel of the scsi
tree. This means that Broadcom's 1G Linux iSCSI offload solution would
not work at all without this patch.
Signed-off-by: Eddie Wai <eddie.wai@broadcom.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bnx2i/bnx2i.h')
-rw-r--r-- | drivers/scsi/bnx2i/bnx2i.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/bnx2i/bnx2i.h b/drivers/scsi/bnx2i/bnx2i.h index 0c53c28dc3d3..7e77cf620291 100644 --- a/drivers/scsi/bnx2i/bnx2i.h +++ b/drivers/scsi/bnx2i/bnx2i.h @@ -350,6 +350,7 @@ struct bnx2i_hba { struct pci_dev *pcidev; struct net_device *netdev; void __iomem *regview; + resource_size_t reg_base; u32 age; unsigned long cnic_dev_type; |