[PATCH 1/3] [Jaunty] DRM / VIA_CHROME9 - Make file, Kconfig

BruceChang at via.com.tw BruceChang at via.com.tw
Wed Dec 24 02:46:03 UTC 2008


To whom it may concern:
    This patch contains the modification on the make files and the
Kconfig file. It includes the source files to be compiled for generating
the DRM kernel module for VIA Chrome9 GFX family.

Thanks and Best Regards
Bruce C. Chang

Signed-off-by: Bruce Chang BruceChang at via.com.tw

diff -Nur ./drivers/gpu/drm/Kconfig ./drivers/gpu/drm/Kconfig
--- ./drivers/gpu/drm/Kconfig	2009-02-10 21:43:43.000000000 +0800
+++ ./drivers/gpu/drm/Kconfig	2009-02-10 21:44:11.000000000 +0800
@@ -100,6 +100,13 @@
 	  Choose this option if you have a Via unichrome or compatible
video
 	  chipset. If M is selected the module will be called via.
 
+config DRM_VIA_CHROME9
+	tristate "Via chrome9 video cards"
+	depends on DRM
+	help
+	  Choose this option if you have a Via chrome9 or compatible
video
+	  chipset. If M is selected the module will be called
via_chrome9.
+
 config DRM_SAVAGE
 	tristate "Savage video cards"
 	depends on DRM
diff -Nur ./drivers/gpu/drm/Makefile ./drivers/gpu/drm/Makefile
--- ./drivers/gpu/drm/Makefile	2009-02-10 21:44:37.000000000 +0800
+++ ./drivers/gpu/drm/Makefile	2009-02-10 21:45:45.000000000 +0800
@@ -24,4 +24,5 @@
 obj-$(CONFIG_DRM_SIS)   += sis/
 obj-$(CONFIG_DRM_SAVAGE)+= savage/
 obj-$(CONFIG_DRM_VIA)	+=via/
+obj-$(CONFIG_DRM_VIA_CHROME9)	+=via_chrome9/
 
diff -Nur ./drivers/gpu/drm/via_chrome9/Makefile
./drivers/gpu/drm/via_chrome9/Makefile
--- ./drivers/gpu/drm/via_chrome9/Makefile	1970-01-01
08:00:00.000000000 +0800
+++ ./drivers/gpu/drm/via_chrome9/Makefile	2009-02-11
00:32:53.000000000 +0800
@@ -0,0 +1,8 @@
+#
+# Makefile for the drm device driver.  This driver provides support for
the
+# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
+
+ccflags-y := -Iinclude/drm
+via_chrome9-y    :=  via_chrome9_drv.o via_chrome9_drm.o
via_chrome9_mm.o via_chrome9_dma.o via_chrome9_verifier.o
+
+obj-$(CONFIG_DRM_VIA_CHROME9)	+= via_chrome9.o




More information about the kernel-team mailing list