Skip to contentSkip to conversation

A video driver for Lynx3DM on NEC VR5701-SG2 Board.

PATCH New Sergey Podstavin 1 participant 1 message Jun 7, 2005 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 A video driver for Lynx3DM on NEC VR5701-SG2 Board.

Hi Antonio!

Attached is a video driver for Lynx3DM SM722, Silicon Motion Inc. It was designed for NEC VR5701-SG2 Board, MIPS-CPU Vr5701. Please review it.

Best wishes,
Sergey Podstavin.

video/Kconfig renamed from home/yadviga/nec/SOURCES/linux-2.6.10/drivers/video/Kconfig +21 -0
diff -burP -X /home/yadviga/bin/exclude -I '\$Id:.*Exp \$' -I '\$Source:.*' -I '\$SOURCE.*' -I '\$Revision.*' -I '\$Date' -I '\$Author' /home/yadviga/nec/SOURCES/linux-2.6.10/drivers/video/Kconfig drivers/video/Kconfig
@@ -795,6 +795,27 @@
 	  is at
 	  <http://support.ati.com/products/pc/mach64/graphics_xpression.html>.
 
+config FB_SM
+	tristate "Silicon Motion SM722 support"
+	depends on FB && PCI
+	help
+	  SM722
+
+choice
+	prompt "Display size"
+	depends on FB_SM
+	default DISPLAY_640x480
+
+config DISPLAY_640x480
+	bool "640x480"
+	select DISPLAY_640x480
+
+config DISPLAY_1024x768
+	bool "1024x768"
+	select DISPLAY_1024x768
+
+endchoice
+
 config FB_SAVAGE
 	tristate "S3 Savage support"
 	depends on FB && PCI && EXPERIMENTAL
video/Makefile renamed from home/yadviga/nec/SOURCES/linux-2.6.10/drivers/video/Makefile +1 -0
diff -burP -X /home/yadviga/bin/exclude -I '\$Id:.*Exp \$' -I '\$Source:.*' -I '\$SOURCE.*' -I '\$Revision.*' -I '\$Date' -I '\$Author' /home/yadviga/nec/SOURCES/linux-2.6.10/drivers/video/Makefile drivers/video/Makefile
@@ -36,6 +36,7 @@
 				     vgastate.o
 obj-$(CONFIG_FB_INTEL)            += cfbfillrect.o cfbcopyarea.o \
 	                             cfbimgblt.o
+obj-$(CONFIG_FB_SM)               += smi/ cfbfillrect.o cfbcopyarea.o cfbimgblt.o
 
 obj-$(CONFIG_FB_RADEON_OLD)	  += radeonfb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
 obj-$(CONFIG_FB_NEOMAGIC)         += neofb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o vgastate.o
video/smi/Makefile renamed from home/yadviga/nec/SOURCES/linux-2.6.10/drivers/video/smi/Makefile +5 -0
diff -burP -X /home/yadviga/bin/exclude -I '\$Id:.*Exp \$' -I '\$Source:.*' -I '\$SOURCE.*' -I '\$Revision.*' -I '\$Date' -I '\$Author' /home/yadviga/nec/SOURCES/linux-2.6.10/drivers/video/smi/Makefile drivers/video/smi/Makefile
@@ -0,0 +1,5 @@
+
+obj-$(CONFIG_FB_SM)	+= smfb.o
+
+smfb-objs	:= smi_base.o smi_hw.o 
+
video/smi/smi_base.c renamed from home/yadviga/nec/SOURCES/linux-2.6.10/drivers/video/smi/smi_base.c +561 -0

561 lines not on this page · raw message

video/smi/smi_hw.c renamed from home/yadviga/nec/SOURCES/linux-2.6.10/drivers/video/smi/smi_hw.c +364 -0

364 lines not on this page · raw message

video/smi/smi_hw.h renamed from home/yadviga/nec/SOURCES/linux-2.6.10/drivers/video/smi/smi_hw.h +193 -0

193 lines not on this page · raw message

video/smi/smi_params.h renamed from home/yadviga/nec/SOURCES/linux-2.6.10/drivers/video/smi/smi_params.h +444 -0

444 lines not on this page · raw message

video/smi/smifb.h renamed from home/yadviga/nec/SOURCES/linux-2.6.10/drivers/video/smi/smifb.h +112 -0

112 lines not on this page · raw message