comparison drivers/3dfx.h @ 9210:fc78c4942484

keep reserved bits zeroed, test & bug report by andee (at irc.freenode.net)
author iive
date Sat, 01 Feb 2003 20:15:48 +0000
parents 9a44c38d388c
children 261209467b41
comparison
equal deleted inserted replaced
9209:c0151a96c0ae 9210:fc78c4942484
314 #define TDFXF_VIDEO_ENABLE 0x20 314 #define TDFXF_VIDEO_ENABLE 0x20
315 315
316 #define TDFXF_HSYNC_MASK 0x03 316 #define TDFXF_HSYNC_MASK 0x03
317 #define TDFXF_VSYNC_MASK 0x0c 317 #define TDFXF_VSYNC_MASK 0x0c
318 318
319 #define XYREG(x,y) (((((unsigned long)y) & 0xFFFF) << 16) | (((unsigned long)x) & 0xFFFF)) 319 #define XYREG(x,y) (((((unsigned long)y) & 0x1FFF) << 16) | (((unsigned long)x) & 0x1FFF))
320 320
321 //#define TDFXFB_DEBUG 321 //#define TDFXFB_DEBUG
322 #ifdef TDFXFB_DEBUG 322 #ifdef TDFXFB_DEBUG
323 #define DPRINTK(a,b...) printk(KERN_DEBUG "fb: %s: " a, __FUNCTION__ , ## b) 323 #define DPRINTK(a,b...) printk(KERN_DEBUG "fb: %s: " a, __FUNCTION__ , ## b)
324 #else 324 #else