aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40evf/i40e_common.c
diff options
context:
space:
mode:
authorShannon Nelson <shannon.nelson@intel.com>2014-01-17 18:36:39 -0500
committerDavid S. Miller <davem@davemloft.net>2014-01-17 22:13:04 -0500
commitab60085e2e6e48ad4dc3d25254239e1119d074a4 (patch)
treefa75c48180cd7d0957a2b39c1ee7ec1e24f76f97 /drivers/net/ethernet/intel/i40evf/i40e_common.c
parent9d488727b44881f96700a45fe80c3781ddd689d3 (diff)
i40e: Fix device ID define names to align to standard
Rework the device ID #defines to follow the _DEV_ID convention already established in the other Intel drivers. Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Shannon Nelson <shannon.nelson@intel.com> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com> Signed-off-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/i40evf/i40e_common.c')
-rw-r--r--drivers/net/ethernet/intel/i40evf/i40e_common.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/net/ethernet/intel/i40evf/i40e_common.c b/drivers/net/ethernet/intel/i40evf/i40e_common.c
index 44b90b347bfd..7b13953b28c4 100644
--- a/drivers/net/ethernet/intel/i40evf/i40e_common.c
+++ b/drivers/net/ethernet/intel/i40evf/i40e_common.c
@@ -39,20 +39,20 @@ i40e_status i40e_set_mac_type(struct i40e_hw *hw)
39 39
40 if (hw->vendor_id == PCI_VENDOR_ID_INTEL) { 40 if (hw->vendor_id == PCI_VENDOR_ID_INTEL) {
41 switch (hw->device_id) { 41 switch (hw->device_id) {
42 case I40E_SFP_XL710_DEVICE_ID: 42 case I40E_DEV_ID_SFP_XL710:
43 case I40E_SFP_X710_DEVICE_ID: 43 case I40E_DEV_ID_SFP_X710:
44 case I40E_QEMU_DEVICE_ID: 44 case I40E_DEV_ID_QEMU:
45 case I40E_KX_A_DEVICE_ID: 45 case I40E_DEV_ID_KX_A:
46 case I40E_KX_B_DEVICE_ID: 46 case I40E_DEV_ID_KX_B:
47 case I40E_KX_C_DEVICE_ID: 47 case I40E_DEV_ID_KX_C:
48 case I40E_KX_D_DEVICE_ID: 48 case I40E_DEV_ID_KX_D:
49 case I40E_QSFP_A_DEVICE_ID: 49 case I40E_DEV_ID_QSFP_A:
50 case I40E_QSFP_B_DEVICE_ID: 50 case I40E_DEV_ID_QSFP_B:
51 case I40E_QSFP_C_DEVICE_ID: 51 case I40E_DEV_ID_QSFP_C:
52 hw->mac.type = I40E_MAC_XL710; 52 hw->mac.type = I40E_MAC_XL710;
53 break; 53 break;
54 case I40E_VF_DEVICE_ID: 54 case I40E_DEV_ID_VF:
55 case I40E_VF_HV_DEVICE_ID: 55 case I40E_DEV_ID_VF_HV:
56 hw->mac.type = I40E_MAC_VF; 56 hw->mac.type = I40E_MAC_VF;
57 break; 57 break;
58 default: 58 default: