Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 225400
b: refs/heads/master
c: 2316aa2
h: refs/heads/master
v: v3
  • Loading branch information
Greg Rose authored and Jeff Kirsher committed Dec 25, 2010
1 parent 9b47a50 commit b8d949e
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a985b6c31ff230a1246d921afbfc0f6a1386be83
refs/heads/master: 2316aa2aee254c126e688b53a3a105b82bc3f368
1 change: 1 addition & 0 deletions trunk/drivers/net/ixgbevf/defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@

/* Device IDs */
#define IXGBE_DEV_ID_82599_VF 0x10ED
#define IXGBE_DEV_ID_X540_VF 0x1515

#define IXGBE_VF_IRQ_CLEAR_MASK 7
#define IXGBE_VF_MAX_TX_QUEUES 1
Expand Down
4 changes: 3 additions & 1 deletion trunk/drivers/net/ixgbevf/ixgbevf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
7 changes: 5 additions & 2 deletions trunk/drivers/net/ixgbevf/ixgbevf_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,14 @@ char ixgbevf_driver_name[] = "ixgbevf";
static const char ixgbevf_driver_string[] =
"Intel(R) 82599 Virtual Function";

#define DRV_VERSION "1.0.12-k0"
#define DRV_VERSION "1.0.19-k0"
const char ixgbevf_driver_version[] = DRV_VERSION;
static char ixgbevf_copyright[] =
"Copyright (c) 2009 - 2010 Intel Corporation.";

static const struct ixgbevf_info *ixgbevf_info_tbl[] = {
[board_82599_vf] = &ixgbevf_vf_info,
[board_82599_vf] = &ixgbevf_82599_vf_info,
[board_X540_vf] = &ixgbevf_X540_vf_info,
};

/* ixgbevf_pci_tbl - PCI Device ID Table
Expand All @@ -71,6 +72,8 @@ static const struct ixgbevf_info *ixgbevf_info_tbl[] = {
static struct pci_device_id ixgbevf_pci_tbl[] = {
{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82599_VF),
board_82599_vf},
{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X540_VF),
board_X540_vf},

/* required last entry */
{0, }
Expand Down
6 changes: 5 additions & 1 deletion trunk/drivers/net/ixgbevf/vf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
1 change: 1 addition & 0 deletions trunk/drivers/net/ixgbevf/vf.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ struct ixgbe_mac_operations {
enum ixgbe_mac_type {
ixgbe_mac_unknown = 0,
ixgbe_mac_82599_vf,
ixgbe_mac_X540_vf,
ixgbe_num_macs
};

Expand Down

0 comments on commit b8d949e

Please sign in to comment.