[PATCH 1/4] xfree86: Don't bother probing -nv on Linux

Peter Hutterer peter.hutterer at who-t.net
Thu Mar 16 23:12:04 UTC 2017


On Thu, Mar 16, 2017 at 12:29:41PM +0200, Timo Aaltonen wrote:
> From: Timo Aaltonen <tjaalton at debian.org>
> 
> For linux this driver is long obsolete now.  It may have some relevance
> on non-linux systems.
> 
> Signed-off-by: Timo Aaltonen <tjaalton at ubuntu.com>

Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

Cheers,
   Peter

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