net/mlx5_core: Move to use hex PCI device IDs
authorOr Gerlitz <ogerlitz@mellanox.com>
Tue, 3 Feb 2015 15:57:18 +0000 (17:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Feb 2015 00:17:45 +0000 (16:17 -0800)
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>
drivers/net/ethernet/mellanox/mlx5/core/main.c

index 3f4525619a07efb6de4711189565a1f06e624293..d6651937d8996188b249fe911b09e9cbbdc480a5 100644 (file)
@@ -903,12 +903,12 @@ static void remove_one(struct pci_dev *pdev)
 }
 
 static const struct pci_device_id mlx5_core_pci_table[] = {
-       { PCI_VDEVICE(MELLANOX, 4113) }, /* Connect-IB */
-       { PCI_VDEVICE(MELLANOX, 4114) }, /* Connect-IB VF */
-       { PCI_VDEVICE(MELLANOX, 4115) }, /* ConnectX-4 */
-       { PCI_VDEVICE(MELLANOX, 4116) }, /* ConnectX-4 VF */
-       { PCI_VDEVICE(MELLANOX, 4117) }, /* ConnectX-4LX */
-       { PCI_VDEVICE(MELLANOX, 4118) }, /* ConnectX-4LX VF */
+       { PCI_VDEVICE(MELLANOX, 0x1011) }, /* Connect-IB */
+       { PCI_VDEVICE(MELLANOX, 0x1012) }, /* Connect-IB VF */
+       { PCI_VDEVICE(MELLANOX, 0x1013) }, /* ConnectX-4 */
+       { PCI_VDEVICE(MELLANOX, 0x1014) }, /* ConnectX-4 VF */
+       { PCI_VDEVICE(MELLANOX, 0x1015) }, /* ConnectX-4LX */
+       { PCI_VDEVICE(MELLANOX, 0x1016) }, /* ConnectX-4LX VF */
        { 0, }
 };