diff options
author | Jon Mason <jon.mason@exar.com> | 2010-11-10 23:26:00 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-11 12:30:22 -0500 |
commit | e7935c9669c27c5d530bff634c0c15f7a602d697 (patch) | |
tree | 5f2d6eded542d81bc7cae1a012ee5a0bbbe3d7ec /drivers/net/vxge/vxge-config.h | |
parent | c3150eac9f2e5f770b09d371f7716540219a46f6 (diff) |
vxge: Titan1A detection
Detect if the adapter is Titan or Titan1A, and tune the driver for this
hardware. Also, remove unnecessary function __vxge_hw_device_id_get.
Signed-off-by: Jon Mason <jon.mason@exar.com>
Signed-off-by: Ram Vepa <ram.vepa@exar.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.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/vxge/vxge-config.h b/drivers/net/vxge/vxge-config.h index 95230bda0653..5b2c8313426d 100644 --- a/drivers/net/vxge/vxge-config.h +++ b/drivers/net/vxge/vxge-config.h | |||
@@ -713,9 +713,6 @@ struct __vxge_hw_vpath_handle{ | |||
713 | /** | 713 | /** |
714 | * struct __vxge_hw_device - Hal device object | 714 | * struct __vxge_hw_device - Hal device object |
715 | * @magic: Magic Number | 715 | * @magic: Magic Number |
716 | * @device_id: PCI Device Id of the adapter | ||
717 | * @major_revision: PCI Device major revision | ||
718 | * @minor_revision: PCI Device minor revision | ||
719 | * @bar0: BAR0 virtual address. | 716 | * @bar0: BAR0 virtual address. |
720 | * @pdev: Physical device handle | 717 | * @pdev: Physical device handle |
721 | * @config: Confguration passed by the LL driver at initialization | 718 | * @config: Confguration passed by the LL driver at initialization |
@@ -727,9 +724,6 @@ struct __vxge_hw_device { | |||
727 | u32 magic; | 724 | u32 magic; |
728 | #define VXGE_HW_DEVICE_MAGIC 0x12345678 | 725 | #define VXGE_HW_DEVICE_MAGIC 0x12345678 |
729 | #define VXGE_HW_DEVICE_DEAD 0xDEADDEAD | 726 | #define VXGE_HW_DEVICE_DEAD 0xDEADDEAD |
730 | u16 device_id; | ||
731 | u8 major_revision; | ||
732 | u8 minor_revision; | ||
733 | void __iomem *bar0; | 727 | void __iomem *bar0; |
734 | struct pci_dev *pdev; | 728 | struct pci_dev *pdev; |
735 | struct net_device *ndev; | 729 | struct net_device *ndev; |