Source-Changes-HG archive

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

[src/trunk]: src/sys/modules Module for viadrmums.



details:   https://anonhg.NetBSD.org/src/rev/e760f9bfb5ae
branches:  trunk
changeset: 337826:e760f9bfb5ae
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Apr 29 12:52:05 2015 +0000

description:
Module for viadrmums.

diffstat:

 sys/modules/Makefile                   |   3 ++-
 sys/modules/viadrmums/Makefile         |  30 ++++++++++++++++++++++++++++++
 sys/modules/viadrmums/viadrmums.ioconf |   9 +++++++++
 3 files changed, 41 insertions(+), 1 deletions(-)

diffs (64 lines):

diff -r eb3c9cebd70d -r e760f9bfb5ae sys/modules/Makefile
--- a/sys/modules/Makefile      Wed Apr 29 12:30:43 2015 +0000
+++ b/sys/modules/Makefile      Wed Apr 29 12:52:05 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.146 2015/04/23 23:22:27 pgoyette Exp $
+#      $NetBSD: Makefile,v 1.147 2015/04/29 12:52:05 riastradh Exp $
 
 .include <bsd.own.mk>
 
@@ -237,6 +237,7 @@
 SUBDIR+=       i915drm
 SUBDIR+=       i915drmkms
 SUBDIR+=       pad
+SUBDIR+=       viadrmums
 #
 # ISA modules
 #
diff -r eb3c9cebd70d -r e760f9bfb5ae sys/modules/viadrmums/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/viadrmums/Makefile    Wed Apr 29 12:52:05 2015 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2015/04/29 12:52:05 riastradh Exp $
+
+.include "../Makefile.inc"
+.include "../drmkms/Makefile.inc"
+
+KMOD=  viadrmums
+IOCONF=        viadrmums.ioconf
+
+CPPFLAGS+=     -I${S}/external/bsd/drm2/dist/drm/via
+CPPFLAGS+=     -I${S}/external/bsd/drm2/via
+
+.PATH: ${S}/external/bsd/drm2/via
+.PATH: ${S}/external/bsd/drm2/dist/drm/via
+
+COPTS.via_verifier.c+= -Wno-shadow
+COPTS.via_pci.c+=      -Wno-missing-field-initializers
+
+SRCS+= via_dma.c
+SRCS+= via_dmablit.c
+SRCS+= via_drv.c
+SRCS+= via_irq.c
+SRCS+= via_map.c
+SRCS+= via_mm.c
+SRCS+= via_verifier.c
+SRCS+= via_video.c
+
+SRCS+= via_module.c
+SRCS+= via_pci.c
+
+.include <bsd.kmodule.mk>
diff -r eb3c9cebd70d -r e760f9bfb5ae sys/modules/viadrmums/viadrmums.ioconf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/viadrmums/viadrmums.ioconf    Wed Apr 29 12:52:05 2015 +0000
@@ -0,0 +1,9 @@
+#      $NetBSD: viadrmums.ioconf,v 1.1 2015/04/29 12:52:05 riastradh Exp $
+
+ioconf viadrmums
+
+include "conf/files"
+
+pseudo-root    drm*
+
+viadrmums*     at drm?



Home | Main Index | Thread Index | Old Index