X-Git-Url: http://git.etherboot.org/mirror/winof/.git/blobdiff_plain/6b13be6c95d8a3b4af6869cfcfe5e7ebfc8485b4..57b510ffb852d5566b8f3e750151a083788a3c82:/hw/mlx4/kernel/bus/drv/drv.c?ds=sidebyside diff --git a/hw/mlx4/kernel/bus/drv/drv.c b/hw/mlx4/kernel/bus/drv/drv.c index f10980a1..70b46ba5 100644 --- a/hw/mlx4/kernel/bus/drv/drv.c +++ b/hw/mlx4/kernel/bus/drv/drv.c @@ -724,6 +724,8 @@ __get_resources( // pdev->ven_id = pdev->pci_cfg_space.VendorID; pdev->dev_id = pdev->pci_cfg_space.DeviceID; + pdev->sub_vendor_id = pdev->pci_cfg_space.u.type0.SubVendorID; + pdev->sub_system_id = pdev->pci_cfg_space.u.type0.SubSystemID; pdev->p_self_do = WdfDeviceWdmGetDeviceObject(p_fdo->FdoDevice); pdev->pdo = WdfDeviceWdmGetPhysicalDevice(p_fdo->FdoDevice);