aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/vxge/vxge-config.c
diff options
context:
space:
mode:
authorSreenivasa Honnur <Sreenivasa.Honnur@neterion.com>2009-07-01 17:12:23 -0400
committerDavid S. Miller <davem@davemloft.net>2009-07-05 22:16:24 -0400
commit7975d1eed732c9d50b41f5847453e324f544bd30 (patch)
tree06a95f3c16a50c90e62170630ab3f4ab333ab14c /drivers/net/vxge/vxge-config.c
parente04af024b2e74249990587e76ec98220028c01c3 (diff)
vxge: Removed ioremap of unused bar addresses and their references
- Removed ioremap of bar1 address Driver needs only bar0 address for register access - Removed references to bar1 and bar2 addresses Signed-off-by: Sreenivasa Honnur <sreenivasa.honnur@neterion.com> Signed-off-by: Ramkrishna Vepa <ram.vepa@neterion.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vxge/vxge-config.c')
-rw-r--r--drivers/net/vxge/vxge-config.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/vxge/vxge-config.c b/drivers/net/vxge/vxge-config.c
index 58d2551c78ed..9e94c4b0fb18 100644
--- a/drivers/net/vxge/vxge-config.c
+++ b/drivers/net/vxge/vxge-config.c
@@ -313,14 +313,6 @@ __vxge_hw_device_reg_addr_get(struct __vxge_hw_device *hldev)
313 hldev->kdfc = (u8 __iomem *)(hldev->bar0 + 313 hldev->kdfc = (u8 __iomem *)(hldev->bar0 +
314 VXGE_HW_TOC_GET_KDFC_INITIAL_OFFSET(val64)); 314 VXGE_HW_TOC_GET_KDFC_INITIAL_OFFSET(val64));
315 break; 315 break;
316 case 2:
317 hldev->kdfc = (u8 __iomem *)(hldev->bar1 +
318 VXGE_HW_TOC_GET_KDFC_INITIAL_OFFSET(val64));
319 break;
320 case 4:
321 hldev->kdfc = (u8 __iomem *)(hldev->bar2 +
322 VXGE_HW_TOC_GET_KDFC_INITIAL_OFFSET(val64));
323 break;
324 default: 316 default:
325 break; 317 break;
326 } 318 }
@@ -831,8 +823,6 @@ vxge_hw_device_initialize(
831 sizeof(struct vxge_hw_device_config)); 823 sizeof(struct vxge_hw_device_config));
832 824
833 hldev->bar0 = attr->bar0; 825 hldev->bar0 = attr->bar0;
834 hldev->bar1 = attr->bar1;
835 hldev->bar2 = attr->bar2;
836 hldev->pdev = attr->pdev; 826 hldev->pdev = attr->pdev;
837 827
838 hldev->uld_callbacks.link_up = attr->uld_callbacks.link_up; 828 hldev->uld_callbacks.link_up = attr->uld_callbacks.link_up;