X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fvideo%2Ftdfx.h;h=04237676b17ccabbea7cb7461a1c794e69b3e9f9;hb=f7f1b0f1e2fbadeab12d24236000e778aa9b1ead;hp=96eb4a761c47ab7fbcb76613b8d464caeee0b40e;hpb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;p=linux-2.6.git diff --git a/include/video/tdfx.h b/include/video/tdfx.h index 96eb4a761..04237676b 100644 --- a/include/video/tdfx.h +++ b/include/video/tdfx.h @@ -99,6 +99,8 @@ #define MISCINIT1_2DBLOCK_DIS BIT(15) #define DRAMINIT0_SGRAM_NUM BIT(26) #define DRAMINIT0_SGRAM_TYPE BIT(27) +#define DRAMINIT0_SGRAM_TYPE_MASK (BIT(27)|BIT(28)|BIT(29)) +#define DRAMINIT0_SGRAM_TYPE_SHIFT 27 #define DRAMINIT1_MEM_SDRAM BIT(30) #define VGAINIT0_VGA_DISABLE BIT(0) #define VGAINIT0_EXT_TIMING BIT(1) @@ -173,7 +175,7 @@ struct banshee_reg { struct tdfx_par { u32 max_pixclock; - void *regbase_virt; + void __iomem *regbase_virt; unsigned long iobase; u32 baseline;