summaryrefslogtreecommitdiff
path: root/hw/xfree86/common
diff options
context:
space:
mode:
authorMaya Rashish <maya@NetBSD.org>2019-01-10 14:55:17 +0200
committerAdam Jackson <ajax@nwnk.net>2019-01-10 21:24:49 +0000
commite3fb178617a579c98877a3baae14c4dfe4d55db8 (patch)
treeeab56aaa9273feff2c967241ea4543ac93950483 /hw/xfree86/common
parentbf2a7bb4ffbd199882fe4bd183561469833a9e6b (diff)
xfree86: Try nouveau on NetBSD as well.
Diffstat (limited to 'hw/xfree86/common')
-rw-r--r--hw/xfree86/common/xf86pciBus.c2
1 files changed, 1 insertions, 1 deletions
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";