1 2 #ifndef __RENDITION_H__ 3 #define __RENDITION_H__ 4 5 #include <string.h> 6 #include <math.h> 7 8 /* All drivers should typically include these */ 9 #include "xf86.h" 10 #include "xf86_OSproc.h" 11 12 /* All drivers need this */ 13 14 /* Everything using inb/outb, etc needs "compiler.h" */ 15 #include "compiler.h" 16 17 /* Drivers that need to access the PCI config space directly need this */ 18 #include "xf86Pci.h" 19 20 /* All drivers using the vgahw module need this */ 21 /* All V1000 _need_ VGA register access, */ 22 /* so multihead operation is out of the question */ 23 #include "vgaHW.h" 24 25 /* All drivers initialising the SW cursor need this */ 26 #include "mipointer.h" 27 28 /* All drivers using the mi colormap manipulation need this */ 29 #include "micmap.h" 30 31 #if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6 32 /* Needed by Resources Access Control (RAC) */ 33 #include "xf86RAC.h" 34 35 /* Several predefined resource lists */ 36 #include "xf86Resources.h" 37 #endif 38 39 /* Needed by the Shadow Framebuffer */ 40 #include "shadowfb.h" 41 42 /* Needed for replacement LoadPalette function for Gamma Correction */ 43 #include "xf86cmap.h" 44 45 /* Drivers using fb need this */ 46 47 #include "fb.h" 48 49 /* Drivers using the XAA interface ... */ 50 #ifdef HAVE_XAA_H 51 #include "xaa.h" 52 #include "xaalocal.h" 53 #endif 54 #include "xf86fbman.h" 55 56 /* HW-cursor definitions */ 57 #include "xf86Cursor.h" 58 59 /* DDC support */ 60 #include "xf86DDC.h" 61 62 #include "commonregs.h" 63 64 #include "compat-api.h" 65 /* end of __RENDITION_H__ */ 66 67 #define PCI_CHIP_V1000 0x0001 68 #define PCI_CHIP_V2x00 0x2000 69 70 #endif 71