[PATCH 1/1] Autoload nouveau on NetBSD as well
Maya Rashish
coypu at sdf.org
Fri Nov 4 02:30:11 UTC 2016
It has added support for it
---
hw/xfree86/common/xf86pciBus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/xfree86/common/xf86pciBus.c b/hw/xfree86/common/xf86pciBus.c
index bed4434..15bd59e 100644
--- a/hw/xfree86/common/xf86pciBus.c
+++ b/hw/xfree86/common/xf86pciBus.c
@@ -1189,7 +1189,7 @@ xf86VideoPtrToDriverList(struct pci_device *dev,
{
int idx = 0;
-#ifdef __linux__
+#if defined(__linux__) || defined(__NetBSD__)
driverList[idx++] = "nouveau";
#endif
driverList[idx++] = "nv";
--
2.10.1
More information about the xorg-devel
mailing list