Changeset 72139 in vbox
- Timestamp:
- May 7, 2018 1:54:48 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
r69744 r72139 90 90 # define PCI_DEV_GET(v,d,p) pci_get_device(v,d,p) 91 91 # define PCI_DEV_PUT(x) pci_dev_put(x) 92 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 17, 0) 93 /* assume the domain number to be zero - exactly the same assumption of 94 * pci_get_bus_and_slot() 95 */ 96 # define PCI_DEV_GET_SLOT(bus, devfn) pci_get_domain_bus_and_slot(0, bus, devfn) 97 #else 92 98 # define PCI_DEV_GET_SLOT(bus, devfn) pci_get_bus_and_slot(bus, devfn) 99 #endif 93 100 #else 94 101 # define PCI_DEV_GET(v,d,p) pci_find_device(v,d,p)
Note:
See TracChangeset
for help on using the changeset viewer.