aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel
diff options
context:
space:
mode:
authorCarolyn Wyborny <carolyn.wyborny@intel.com>2015-02-06 03:52:20 -0500
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-02-25 02:24:12 -0500
commit9a21a007b6420649d7bcdebbbbd43d24f648af6b (patch)
treeb4aab73b37a3ac58e680b0ccd22d65b99ea086ea /drivers/net/ethernet/intel
parent7e45ab44087c026398ff4d63c462f724b2c78deb (diff)
i40evf: Add more info to interrupt vector names
This patch adds the netdev name to the VF misc vector name. Without this patch, all the interrupts show the same info, so it difficult to distinguish them. Change-ID: I247828697e1373ecfb5f8dc1bc9618e98a7f4942 Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com> Tested-by: Jim Young <james.m.young@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel')
-rw-r--r--drivers/net/ethernet/intel/i40evf/i40evf_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/i40evf/i40evf_main.c b/drivers/net/ethernet/intel/i40evf/i40evf_main.c
index e089e8f98413..de507b365ba9 100644
--- a/drivers/net/ethernet/intel/i40evf/i40evf_main.c
+++ b/drivers/net/ethernet/intel/i40evf/i40evf_main.c
@@ -524,7 +524,8 @@ static int i40evf_request_misc_irq(struct i40evf_adapter *adapter)
524 int err; 524 int err;
525 525
526 snprintf(adapter->misc_vector_name, 526 snprintf(adapter->misc_vector_name,
527 sizeof(adapter->misc_vector_name) - 1, "i40evf:mbx"); 527 sizeof(adapter->misc_vector_name) - 1, "i40evf-%s:mbx",
528 dev_name(&adapter->pdev->dev));
528 err = request_irq(adapter->msix_entries[0].vector, 529 err = request_irq(adapter->msix_entries[0].vector,
529 &i40evf_msix_aq, 0, 530 &i40evf_msix_aq, 0,
530 adapter->misc_vector_name, netdev); 531 adapter->misc_vector_name, netdev);