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

Timo Aaltonen tjaalton at ubuntu.com
Thu Mar 16 10:29:41 UTC 2017


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



More information about the xorg-devel mailing list