[PATCH 3/5] xfree86: nds32: add nds32 definition for vgaHW support.

Macpaul Lin macpaul at andestech.com
Wed Sep 8 01:33:41 PDT 2010


Add __nds32__ definitions for vgaHW support.

Signed-off-by: Macpaul Lin <macpaul at andestech.com>
---
 hw/xfree86/vgahw/vgaHW.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/xfree86/vgahw/vgaHW.h b/hw/xfree86/vgahw/vgaHW.h
index 7e63492..b31c007 100644
--- a/hw/xfree86/vgahw/vgaHW.h
+++ b/hw/xfree86/vgahw/vgaHW.h
@@ -174,7 +174,7 @@ typedef struct _vgaHWRec {
 #define BITS_PER_GUN 6
 #define COLORMAP_SIZE 256
 
-#if defined(__powerpc__) || defined(__arm__) || defined(__s390__)
+#if defined(__powerpc__) || defined(__arm__) || defined(__s390__) || defined(__nds32__)
 #define DACDelay(hw) /* No legacy VGA support */
 #else
 #define DACDelay(hw)							      \
-- 
1.7.2.2



More information about the xorg-devel mailing list