summaryrefslogtreecommitdiff
path: root/drivers/net/ixgbevf/ixgbevf.h
diff options
context:
space:
mode:
authorGreg Rose <gregory.v.rose@intel.com>2010-12-02 07:12:26 (GMT)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2010-12-25 05:45:42 (GMT)
commit2316aa2aee254c126e688b53a3a105b82bc3f368 (patch)
tree2394b5093e7a3f589218e742087e60bac4a8360d /drivers/net/ixgbevf/ixgbevf.h
parenta985b6c31ff230a1246d921afbfc0f6a1386be83 (diff)
downloadlinux-fsl-qoriq-2316aa2aee254c126e688b53a3a105b82bc3f368.tar.xz
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/ixgbevf.h')
-rw-r--r--drivers/net/ixgbevf/ixgbevf.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/ixgbevf/ixgbevf.h b/drivers/net/ixgbevf/ixgbevf.h
index 0cd6abc..a63efcb 100644
--- a/drivers/net/ixgbevf/ixgbevf.h
+++ b/drivers/net/ixgbevf/ixgbevf.h
@@ -275,9 +275,11 @@ enum ixbgevf_state_t {
enum ixgbevf_boards {
board_82599_vf,
+ board_X540_vf,
};
-extern struct ixgbevf_info ixgbevf_vf_info;
+extern struct ixgbevf_info ixgbevf_82599_vf_info;
+extern struct ixgbevf_info ixgbevf_X540_vf_info;
extern struct ixgbe_mac_operations ixgbevf_mbx_ops;
/* needed by ethtool.c */