diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2015-02-03 10:57:18 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-04 19:17:45 -0500 |
commit | 1c755cc5be5023c9523d558de0c507316efa6c62 (patch) | |
tree | aadb4489d81d3118ef52285ff9793ad3f477d798 /drivers/net/ethernet | |
parent | 0fab541ac2ca9bc69522e488a9dda825e2d4a243 (diff) |
net/mlx5_core: Move to use hex PCI device IDs
Align the IDs in the code with the modinfo, lspci -n, etc tools outputs.
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/main.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/main.c b/drivers/net/ethernet/mellanox/mlx5/core/main.c index 3f4525619a07..d6651937d899 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/main.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/main.c | |||
@@ -903,12 +903,12 @@ static void remove_one(struct pci_dev *pdev) | |||
903 | } | 903 | } |
904 | 904 | ||
905 | static const struct pci_device_id mlx5_core_pci_table[] = { | 905 | static const struct pci_device_id mlx5_core_pci_table[] = { |
906 | { PCI_VDEVICE(MELLANOX, 4113) }, /* Connect-IB */ | 906 | { PCI_VDEVICE(MELLANOX, 0x1011) }, /* Connect-IB */ |
907 | { PCI_VDEVICE(MELLANOX, 4114) }, /* Connect-IB VF */ | 907 | { PCI_VDEVICE(MELLANOX, 0x1012) }, /* Connect-IB VF */ |
908 | { PCI_VDEVICE(MELLANOX, 4115) }, /* ConnectX-4 */ | 908 | { PCI_VDEVICE(MELLANOX, 0x1013) }, /* ConnectX-4 */ |
909 | { PCI_VDEVICE(MELLANOX, 4116) }, /* ConnectX-4 VF */ | 909 | { PCI_VDEVICE(MELLANOX, 0x1014) }, /* ConnectX-4 VF */ |
910 | { PCI_VDEVICE(MELLANOX, 4117) }, /* ConnectX-4LX */ | 910 | { PCI_VDEVICE(MELLANOX, 0x1015) }, /* ConnectX-4LX */ |
911 | { PCI_VDEVICE(MELLANOX, 4118) }, /* ConnectX-4LX VF */ | 911 | { PCI_VDEVICE(MELLANOX, 0x1016) }, /* ConnectX-4LX VF */ |
912 | { 0, } | 912 | { 0, } |
913 | }; | 913 | }; |
914 | 914 | ||