[MLX4] added two new fields to IB interface: SubVendorID & SubSystemID. [mlnx: 4417]
[mirror/winof/.git] / hw / mlx4 / kernel / bus / drv / drv.c
index f10980a..70b46ba 100644 (file)
@@ -724,6 +724,8 @@ __get_resources(
        //\r
        pdev->ven_id = pdev->pci_cfg_space.VendorID;\r
        pdev->dev_id = pdev->pci_cfg_space.DeviceID;\r
+       pdev->sub_vendor_id = pdev->pci_cfg_space.u.type0.SubVendorID;\r
+       pdev->sub_system_id = pdev->pci_cfg_space.u.type0.SubSystemID;\r
        pdev->p_self_do = WdfDeviceWdmGetDeviceObject(p_fdo->FdoDevice);\r
        pdev->pdo = WdfDeviceWdmGetPhysicalDevice(p_fdo->FdoDevice);\r
        \r