[PATCH 1/4] xfree86: Don't bother probing -nv on Linux
Mark Kettenis
mark.kettenis at xs4all.nl
Thu Mar 16 11:08:46 UTC 2017
> From: Timo Aaltonen <tjaalton at ubuntu.com>
> Date: Thu, 16 Mar 2017 12:29:41 +0200
>
> From: Timo Aaltonen <tjaalton at debian.org>
>
> For linux this driver is long obsolete now. It may have some relevance
> on non-linux systems.
Still somewhat relevant on OpenBSD indeed. Diff makes sense to me.
Reviewed-by: Mark Kettenis <kettenis at openbsd.org>
> Signed-off-by: Timo Aaltonen <tjaalton at ubuntu.com>
> ---
> hw/xfree86/common/xf86pciBus.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/hw/xfree86/common/xf86pciBus.c b/hw/xfree86/common/xf86pciBus.c
> index 9adfee5..66e576e 100644
> --- a/hw/xfree86/common/xf86pciBus.c
> +++ b/hw/xfree86/common/xf86pciBus.c
> @@ -1195,8 +1195,9 @@ xf86VideoPtrToDriverList(struct pci_device *dev,
>
> #ifdef __linux__
> driverList[idx++] = "nouveau";
> -#endif
> +#else
> driverList[idx++] = "nv";
> +#endif
> break;
> }
> case 0x1106:
> --
> 2.7.4
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: https://lists.x.org/mailman/listinfo/xorg-devel
>
>
More information about the xorg-devel
mailing list