bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] rumpkernel/pci-userspace: Add missing pci probe call


From: Samuel Thibault
Subject: Re: [PATCH] rumpkernel/pci-userspace: Add missing pci probe call
Date: Sun, 6 Sep 2020 14:34:46 +0200
User-agent: NeoMutt/20170609 (1.8.3)

Damien Zammit, le dim. 06 sept. 2020 12:15:43 +1000, a ecrit:
> With the changes now provided upstream in libpciaccess:
>  - https://gitlab.freedesktop.org/xorg/lib/libpciaccess/-/commits/master
> 
> This change is now required in rumpkernel.

Applied, thanks!

> ---
>  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
> 
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]