tech-x11 archive

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

s3_drv of xorg



Hi! all,


the s3_drv of xorg was done some corrections and worked on bebox.
the s3 was not included in SRCS though s3_accel.c was necessary.
Moreover, s3_accel.c has a lot of ugly codes in which '#ifdef S3_NEWMMIO'
is done.  This will not be able to support Trio64/964(older) and Trio64V2/
968(newmmio) at the same time perhaps.  bebox use Trio64.

I am planning these corrections. Is this work doing whom it is?  Moreover,
I am planning the support of 864 and SDAC.


cvs diff: Diffing external/mit/xorg/server/drivers/xf86-video-s3
Index: external/mit/xorg/server/drivers/xf86-video-s3/Makefile
===================================================================
RCS file: /cvsroot/src/external/mit/xorg/server/drivers/xf86-video-s3/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- external/mit/xorg/server/drivers/xf86-video-s3/Makefile     3 Aug 2008 
09:24:14 -0000       1.3
+++ external/mit/xorg/server/drivers/xf86-video-s3/Makefile     9 Dec 2008 
15:44:32 -0000
@@ -5,6 +5,13 @@
 
 SRCS=          s3_bios.c s3_cursor.c s3_dga.c s3_driver.c s3_IBMRGB.c
 SRCS+=         s3_Ti.c s3_Trio64DAC.c s3_video.c
+SRCS+=         s3_accel.c
+
+.if ${MACHINE} == "bebox" || ${MACHINE} == "prep"
+CFLAGS+=
+.else
+CFLAGS+=       -DS3_NEWMMIO=1
+.endif
 
 CPPFLAGS.s3_driver.c=  -Wno-error      # XXX fix me please
 .include "../Makefile.xf86-driver"


Thanks,
--
kiyohara
  Please wait my patch some days...


Home | Main Index | Thread Index | Old Index