]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnx2i: Removed the reference to the netdev->base_addr
authorEddie Wai <eddie.wai@broadcom.com>
Fri, 29 Jun 2012 23:37:35 +0000 (16:37 -0700)
committerJoe Jin <joe.jin@oracle.com>
Wed, 29 Aug 2012 00:22:06 +0000 (08:22 +0800)
commiteb26d3c572a35edf3a6b3823ab5aacaa0f3b7c8a
tree9d6d31b0367b87911e52798b41d961faa9611974
parentcc17f62f768da6beea0afc4f4974f714ee3732e9
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.

(cherry picked from commit a77171806515fb5e2288219ddb47af1f0b1328e7)
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>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/scsi/bnx2i/bnx2i.h
drivers/scsi/bnx2i/bnx2i_hwi.c
drivers/scsi/bnx2i/bnx2i_iscsi.c