Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/include/drm provide CONFIG_PNP if it's...



details:   https://anonhg.NetBSD.org/src/rev/6f4cc89c80ae
branches:  trunk
changeset: 992421:6f4cc89c80ae
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 06:18:51 2018 +0000

description:
provide CONFIG_PNP if it's defined. i386 only apparently.

XXX I'm not actually building i386 kernels


Author: coypu <coypu%sdf.org@localhost>
Committer: Taylor R Campbell <riastradh%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/drm2/include/drm/drm_os_netbsd.h |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 4bf7aa467a84 -r 6f4cc89c80ae sys/external/bsd/drm2/include/drm/drm_os_netbsd.h
--- a/sys/external/bsd/drm2/include/drm/drm_os_netbsd.h Mon Aug 27 06:18:41 2018 +0000
+++ b/sys/external/bsd/drm2/include/drm/drm_os_netbsd.h Mon Aug 27 06:18:51 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_os_netbsd.h,v 1.5 2018/08/27 05:57:42 riastradh Exp $      */
+/*     $NetBSD: drm_os_netbsd.h,v 1.6 2018/08/27 06:18:51 riastradh Exp $      */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -49,6 +49,14 @@
 #define CONFIG_PCI
 #endif
 
+#if defined(__i386__)
+#include "pnpbios.h"
+#endif
+
+#if NPNPBIOS > 0
+#define CONFIG_PNP
+#endif
+
 #include <drm/drm_agp_netbsd.h>
 #include <drm/drm_auth_netbsd.h>
 #include <drm/drm_copy_netbsd.h>



Home | Main Index | Thread Index | Old Index