aboutsummaryrefslogtreecommitdiff
path: root/x11-drivers/xf86-video-rendition/files/patch-src_rendition.h
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/xf86-video-rendition/files/patch-src_rendition.h')
-rw-r--r--x11-drivers/xf86-video-rendition/files/patch-src_rendition.h25
1 files changed, 22 insertions, 3 deletions
diff --git a/x11-drivers/xf86-video-rendition/files/patch-src_rendition.h b/x11-drivers/xf86-video-rendition/files/patch-src_rendition.h
index 81b528a854d5..75a5fa411b62 100644
--- a/x11-drivers/xf86-video-rendition/files/patch-src_rendition.h
+++ b/x11-drivers/xf86-video-rendition/files/patch-src_rendition.h
@@ -1,6 +1,16 @@
---- src/rendition.h.orig 2012-07-16 02:42:28 UTC
-+++ src/rendition.h
-@@ -28,9 +28,6 @@
+--- src/rendition.h.orig 2015-10-11 22:31:54.085176000 +0200
++++ src/rendition.h 2015-10-11 22:32:12.657760000 +0200
+@@ -14,9 +14,6 @@
+ /* Everything using inb/outb, etc needs "compiler.h" */
+ #include "compiler.h"
+
+-/* Drivers for PCI hardware need this */
+-#include "xf86PciInfo.h"
+-
+ /* Drivers that need to access the PCI config space directly need this */
+ #include "xf86Pci.h"
+
+@@ -28,9 +25,6 @@
/* All drivers initialising the SW cursor need this */
#include "mipointer.h"
@@ -10,3 +20,12 @@
/* All drivers using the mi colormap manipulation need this */
#include "micmap.h"
+@@ -69,4 +63,8 @@
+
+ #include "compat-api.h"
+ /* end of __RENDITION_H__ */
++
++#define PCI_CHIP_V1000 0x0001
++#define PCI_CHIP_V2x00 0x2000
++
+ #endif