1 --- xserver-xorg-video-psb-0.31.0/src/Xpsb.h 2009-04-17 11:22:26.000000000 -0700
2 +++ xserver-xorg-video-psb-0.31.0/src/Xpsb.h.new 2009-08-28 09:24:16.333677591 -0700
6 #include "xf86_OSproc.h"
7 +#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
8 #include "xf86Resources.h"
12 #define XPSB_VOFFSET_X 0
13 --- xserver-xorg-video-psb-0.31.0/src/psb_driver.h 2009-04-17 11:22:25.000000000 -0700
14 +++ xserver-xorg-video-psb-0.31.0/src/psb_driver.h.new 2009-08-28 09:24:11.822679667 -0700
18 #include "xf86_OSproc.h"
19 -#include "xf86Resources.h"
21 #include "xf86PciInfo.h"
24 #include "xf86int10.h"
27 +#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
28 #include "xf86Resources.h"
34 --- xserver-xorg-video-psb-0.31.0/src/i830_i2c.c 2009-04-17 11:22:24.000000000 -0700
35 +++ xserver-xorg-video-psb-0.31.0/src/i830_i2c.c.new 2009-08-28 09:33:06.789804272 -0700
39 #include "xf86_OSproc.h"
40 +#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
41 #include "xf86Resources.h"
47 --- xserver-xorg-video-psb-0.31.0/src/psb_video.c 2009-04-17 11:22:26.000000000 -0700
48 +++ xserver-xorg-video-psb-0.31.0/src/psb_video.c.new 2009-08-28 09:35:03.874805663 -0700
52 #include "xf86_OSproc.h"
53 +#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
54 #include "xf86Resources.h"
59 --- xserver-xorg-video-psb-0.31.0/src/psb_driver.c 2009-04-17 11:22:26.000000000 -0700
60 +++ xserver-xorg-video-psb-0.31.0/src/psb_driver.c.new 2009-08-28 10:30:32.325553685 -0700
62 * This data is accessed by the loader. The name must be the module name
63 * followed by "ModuleData".
65 -XF86ModuleData psbModuleData = { &psbVersionRec, psbSetup, NULL };
66 +_X_EXPORT XF86ModuleData psbModuleData = { &psbVersionRec, psbSetup, NULL };
69 psbSetup(pointer Module, pointer Options, int *ErrorMajor, int *ErrorMinor)
70 @@ -1023,11 +1023,13 @@
72 PSB_DEBUG(scrnIndex, 3, "Initializing device\n");
74 +#ifndef XSERVER_LIBPCIACCESS
75 if (xf86RegisterResources(pDevice->pEnt->index, NULL, ResExclusive)) {
76 xf86DrvMsg(scrnIndex, X_ERROR,
77 "Could not registrer device. Resource conflict.\n");
82 if (!xf86LoadSubModule(pDevice->pScrns[0], "vgahw"))