summaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbevf/vf.c
diff options
context:
space:
mode:
authorGreg Rose <gregory.v.rose@intel.com>2010-12-02 07:12:26 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2010-12-24 21:45:42 -0800
commit2316aa2aee254c126e688b53a3a105b82bc3f368 (patch)
tree2394b5093e7a3f589218e742087e60bac4a8360d /drivers/net/ixgbevf/vf.c
parenta985b6c31ff230a1246d921afbfc0f6a1386be83 (diff)
downloadop-kernel-dev-2316aa2aee254c126e688b53a3a105b82bc3f368.zip
op-kernel-dev-2316aa2aee254c126e688b53a3a105b82bc3f368.tar.gz
ixgbevf: Add X540 VF device support to the ixgbevf driver
The X540 introduces a new Virtual Function device ID so that the X540 VF device can be distinguished from the 82599 VF device. The X540 VF device will have additional capability over the 82599 VF device so it is necessary to be able to discern the difference. Signed-off-by: Greg Rose <gregory.v.rose@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ixgbevf/vf.c')
-rw-r--r--drivers/net/ixgbevf/vf.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/ixgbevf/vf.c b/drivers/net/ixgbevf/vf.c
index 971019d..eecd3bf 100644
--- a/drivers/net/ixgbevf/vf.c
+++ b/drivers/net/ixgbevf/vf.c
@@ -381,8 +381,12 @@ static struct ixgbe_mac_operations ixgbevf_mac_ops = {
.set_vfta = ixgbevf_set_vfta_vf,
};
-struct ixgbevf_info ixgbevf_vf_info = {
+struct ixgbevf_info ixgbevf_82599_vf_info = {
.mac = ixgbe_mac_82599_vf,
.mac_ops = &ixgbevf_mac_ops,
};
+struct ixgbevf_info ixgbevf_X540_vf_info = {
+ .mac = ixgbe_mac_X540_vf,
+ .mac_ops = &ixgbevf_mac_ops,
+};
OpenPOWER on IntegriCloud