[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] rumpkernel/pci-userspace: Add missing pci probe call
From: |
Damien Zammit |
Subject: |
[PATCH] rumpkernel/pci-userspace: Add missing pci probe call |
Date: |
Sun, 6 Sep 2020 12:15:43 +1000 |
With the changes now provided upstream in libpciaccess:
- https://gitlab.freedesktop.org/xorg/lib/libpciaccess/-/commits/master
This change is now required in rumpkernel.
---
debian/patches/memory-range.diff | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/debian/patches/memory-range.diff b/debian/patches/memory-range.diff
index 87de2d42..f9492e9c 100644
--- a/debian/patches/memory-range.diff
+++ b/debian/patches/memory-range.diff
@@ -4,6 +4,14 @@
--- a/pci-userspace/src-gnu/pci_user-gnu.c
+++ b/pci-userspace/src-gnu/pci_user-gnu.c
+@@ -138,6 +142,7 @@ pci_userspace_init(void)
+ int i = 0;
+ while (((pci_dev = pci_device_next (dev_iter)) != NULL)
+ && (i < NUMDEVS)) {
++ pci_device_probe(pci_dev);
+ pci_devices[i++] = pci_dev;
+ }
+ numdevs = i;
@@ -170,7 +170,8 @@ rumpcomp_pci_map(unsigned long addr, uns
found:
--
2.28.0
- [PATCH] rumpkernel/pci-userspace: Add missing pci probe call,
Damien Zammit <=