From 712d0e86aaee96ffe1ad6a708b9134889e47d1c6 Mon Sep 17 00:00:00 2001 From: Maya Rashish Date: Thu, 10 Jan 2019 14:55:17 +0200 Subject: [PATCH] xfree86: Try nouveau on NetBSD as well. (cherry picked from commit e3fb178617a579c98877a3baae14c4dfe4d55db8) --- 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 0718cdcb0..6575c4ec8 100644 --- a/hw/xfree86/common/xf86pciBus.c +++ b/hw/xfree86/common/xf86pciBus.c @@ -1190,7 +1190,7 @@ xf86VideoPtrToDriverList(struct pci_device *dev, XF86MatchedDrivers *md) { int idx = 0; -#ifdef __linux__ +#if defined(__linux__) || defined(__NetBSD__) driverList[idx++] = "nouveau"; #endif driverList[idx++] = "nv";