aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/vxge/vxge-config.h
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.h
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.h')
-rw-r--r--drivers/net/vxge/vxge-config.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/net/vxge/vxge-config.h b/drivers/net/vxge/vxge-config.h
index afbdf6f4d224..224acea771ed 100644
--- a/drivers/net/vxge/vxge-config.h
+++ b/drivers/net/vxge/vxge-config.h
@@ -682,8 +682,6 @@ struct __vxge_hw_vpath_handle{
682 * @major_revision: PCI Device major revision 682 * @major_revision: PCI Device major revision
683 * @minor_revision: PCI Device minor revision 683 * @minor_revision: PCI Device minor revision
684 * @bar0: BAR0 virtual address. 684 * @bar0: BAR0 virtual address.
685 * @bar1: BAR1 virtual address.
686 * @bar2: BAR2 virtual address.
687 * @pdev: Physical device handle 685 * @pdev: Physical device handle
688 * @config: Confguration passed by the LL driver at initialization 686 * @config: Confguration passed by the LL driver at initialization
689 * @link_state: Link state 687 * @link_state: Link state
@@ -698,8 +696,6 @@ struct __vxge_hw_device {
698 u8 major_revision; 696 u8 major_revision;
699 u8 minor_revision; 697 u8 minor_revision;
700 void __iomem *bar0; 698 void __iomem *bar0;
701 void __iomem *bar1;
702 void __iomem *bar2;
703 struct pci_dev *pdev; 699 struct pci_dev *pdev;
704 struct net_device *ndev; 700 struct net_device *ndev;
705 struct vxge_hw_device_config config; 701 struct vxge_hw_device_config config;
@@ -788,17 +784,13 @@ struct vxge_hw_device_hw_info {
788/** 784/**
789 * struct vxge_hw_device_attr - Device memory spaces. 785 * struct vxge_hw_device_attr - Device memory spaces.
790 * @bar0: BAR0 virtual address. 786 * @bar0: BAR0 virtual address.
791 * @bar1: BAR1 virtual address.
792 * @bar2: BAR2 virtual address.
793 * @pdev: PCI device object. 787 * @pdev: PCI device object.
794 * 788 *
795 * Device memory spaces. Includes configuration, BAR0, BAR1, etc. per device 789 * Device memory spaces. Includes configuration, BAR0 etc. per device
796 * mapped memories. Also, includes a pointer to OS-specific PCI device object. 790 * mapped memories. Also, includes a pointer to OS-specific PCI device object.
797 */ 791 */
798struct vxge_hw_device_attr { 792struct vxge_hw_device_attr {
799 void __iomem *bar0; 793 void __iomem *bar0;
800 void __iomem *bar1;
801 void __iomem *bar2;
802 struct pci_dev *pdev; 794 struct pci_dev *pdev;
803 struct vxge_hw_uld_cbs uld_callbacks; 795 struct vxge_hw_uld_cbs uld_callbacks;
804}; 796};