Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158750
b: refs/heads/master
c: 0a25bdc
h: refs/heads/master
v: v3
  • Loading branch information
Sreenivasa Honnur authored and David S. Miller committed Jul 6, 2009
1 parent 4fc6e4b commit 4638f2d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 22fa125ee24f8db497fa447c145a4a1293fab098
refs/heads/master: 0a25bdc69634fb343c4b23e3422a37e5819448f1
21 changes: 21 additions & 0 deletions trunk/drivers/net/vxge/vxge-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4325,6 +4325,27 @@ vxge_probe(struct pci_dev *pdev, const struct pci_device_id *pre)
ll_config.device_hw_info.fw_version.version,
ll_config.device_hw_info.fw_date.date);

if (new_device) {
switch (ll_config.device_hw_info.function_mode) {
case VXGE_HW_FUNCTION_MODE_SINGLE_FUNCTION:
vxge_debug_init(VXGE_TRACE,
"%s: Single Function Mode Enabled", vdev->ndev->name);
break;
case VXGE_HW_FUNCTION_MODE_MULTI_FUNCTION:
vxge_debug_init(VXGE_TRACE,
"%s: Multi Function Mode Enabled", vdev->ndev->name);
break;
case VXGE_HW_FUNCTION_MODE_SRIOV:
vxge_debug_init(VXGE_TRACE,
"%s: Single Root IOV Mode Enabled", vdev->ndev->name);
break;
case VXGE_HW_FUNCTION_MODE_MRIOV:
vxge_debug_init(VXGE_TRACE,
"%s: Multi Root IOV Mode Enabled", vdev->ndev->name);
break;
}
}

vxge_print_parm(vdev, vpath_mask);

/* Store the fw version for ethttool option */
Expand Down

0 comments on commit 4638f2d

Please sign in to comment.