summaryrefslogtreecommitdiff
path: root/src/i830_driver.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-07-28 18:26:25 +1000
committerDave Airlie <airlied@redhat.com>2009-07-28 18:26:25 +1000
commit50e2a6734de43a135aa91cd6e6fb5147e15ce315 (patch)
tree243bd0a92a8853846c9ad89f5e18ba5b5e0f6dc1 /src/i830_driver.c
parentf3387310f312a4a9e1d691974834c3d290c2fa32 (diff)
intel: drop RES_SHARED_VGA not needed anymore
Diffstat (limited to 'src/i830_driver.c')
-rw-r--r--src/i830_driver.c62
1 files changed, 29 insertions, 33 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index 8c280448..abff5870 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -53,10 +53,6 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "xf86_OSproc.h"
#include "xf86Priv.h"
#include "xf86cmap.h"
-#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
-#include "xf86Resources.h"
-#include "xf86RAC.h"
-#endif
#include "compiler.h"
#include "mibstore.h"
#include "vgaHW.h"
@@ -126,35 +122,35 @@ static SymTabRec I830Chipsets[] = {
};
static PciChipsets I830PciChipsets[] = {
- {PCI_CHIP_I830_M, PCI_CHIP_I830_M, RES_SHARED_VGA},
- {PCI_CHIP_845_G, PCI_CHIP_845_G, RES_SHARED_VGA},
- {PCI_CHIP_I855_GM, PCI_CHIP_I855_GM, RES_SHARED_VGA},
- {PCI_CHIP_I865_G, PCI_CHIP_I865_G, RES_SHARED_VGA},
- {PCI_CHIP_I915_G, PCI_CHIP_I915_G, RES_SHARED_VGA},
- {PCI_CHIP_E7221_G, PCI_CHIP_E7221_G, RES_SHARED_VGA},
- {PCI_CHIP_I915_GM, PCI_CHIP_I915_GM, RES_SHARED_VGA},
- {PCI_CHIP_I945_G, PCI_CHIP_I945_G, RES_SHARED_VGA},
- {PCI_CHIP_I945_GM, PCI_CHIP_I945_GM, RES_SHARED_VGA},
- {PCI_CHIP_I945_GME, PCI_CHIP_I945_GME, RES_SHARED_VGA},
- {PCI_CHIP_IGD_GM, PCI_CHIP_IGD_GM, RES_SHARED_VGA},
- {PCI_CHIP_IGD_G, PCI_CHIP_IGD_G, RES_SHARED_VGA},
- {PCI_CHIP_I965_G, PCI_CHIP_I965_G, RES_SHARED_VGA},
- {PCI_CHIP_G35_G, PCI_CHIP_G35_G, RES_SHARED_VGA},
- {PCI_CHIP_I965_Q, PCI_CHIP_I965_Q, RES_SHARED_VGA},
- {PCI_CHIP_I946_GZ, PCI_CHIP_I946_GZ, RES_SHARED_VGA},
- {PCI_CHIP_I965_GM, PCI_CHIP_I965_GM, RES_SHARED_VGA},
- {PCI_CHIP_I965_GME, PCI_CHIP_I965_GME, RES_SHARED_VGA},
- {PCI_CHIP_G33_G, PCI_CHIP_G33_G, RES_SHARED_VGA},
- {PCI_CHIP_Q35_G, PCI_CHIP_Q35_G, RES_SHARED_VGA},
- {PCI_CHIP_Q33_G, PCI_CHIP_Q33_G, RES_SHARED_VGA},
- {PCI_CHIP_GM45_GM, PCI_CHIP_GM45_GM, RES_SHARED_VGA},
- {PCI_CHIP_IGD_E_G, PCI_CHIP_IGD_E_G, RES_SHARED_VGA},
- {PCI_CHIP_G45_G, PCI_CHIP_G45_G, RES_SHARED_VGA},
- {PCI_CHIP_Q45_G, PCI_CHIP_Q45_G, RES_SHARED_VGA},
- {PCI_CHIP_G41_G, PCI_CHIP_G41_G, RES_SHARED_VGA},
- {PCI_CHIP_IGDNG_D_G, PCI_CHIP_IGDNG_D_G, RES_SHARED_VGA},
- {PCI_CHIP_IGDNG_M_G, PCI_CHIP_IGDNG_M_G, RES_SHARED_VGA},
- {-1, -1, RES_UNDEFINED}
+ {PCI_CHIP_I830_M, PCI_CHIP_I830_M, NULL},
+ {PCI_CHIP_845_G, PCI_CHIP_845_G, NULL},
+ {PCI_CHIP_I855_GM, PCI_CHIP_I855_GM, NULL},
+ {PCI_CHIP_I865_G, PCI_CHIP_I865_G, NULL},
+ {PCI_CHIP_I915_G, PCI_CHIP_I915_G, NULL},
+ {PCI_CHIP_E7221_G, PCI_CHIP_E7221_G, NULL},
+ {PCI_CHIP_I915_GM, PCI_CHIP_I915_GM, NULL},
+ {PCI_CHIP_I945_G, PCI_CHIP_I945_G, NULL},
+ {PCI_CHIP_I945_GM, PCI_CHIP_I945_GM, NULL},
+ {PCI_CHIP_I945_GME, PCI_CHIP_I945_GME, NULL},
+ {PCI_CHIP_IGD_GM, PCI_CHIP_IGD_GM, NULL},
+ {PCI_CHIP_IGD_G, PCI_CHIP_IGD_G, NULL},
+ {PCI_CHIP_I965_G, PCI_CHIP_I965_G, NULL},
+ {PCI_CHIP_G35_G, PCI_CHIP_G35_G, NULL},
+ {PCI_CHIP_I965_Q, PCI_CHIP_I965_Q, NULL},
+ {PCI_CHIP_I946_GZ, PCI_CHIP_I946_GZ, NULL},
+ {PCI_CHIP_I965_GM, PCI_CHIP_I965_GM, NULL},
+ {PCI_CHIP_I965_GME, PCI_CHIP_I965_GME, NULL},
+ {PCI_CHIP_G33_G, PCI_CHIP_G33_G, NULL},
+ {PCI_CHIP_Q35_G, PCI_CHIP_Q35_G, NULL},
+ {PCI_CHIP_Q33_G, PCI_CHIP_Q33_G, NULL},
+ {PCI_CHIP_GM45_GM, PCI_CHIP_GM45_GM, NULL},
+ {PCI_CHIP_IGD_E_G, PCI_CHIP_IGD_E_G, NULL},
+ {PCI_CHIP_G45_G, PCI_CHIP_G45_G, NULL},
+ {PCI_CHIP_Q45_G, PCI_CHIP_Q45_G, NULL},
+ {PCI_CHIP_G41_G, PCI_CHIP_G41_G, NULL},
+ {PCI_CHIP_IGDNG_D_G, PCI_CHIP_IGDNG_D_G, NULL},
+ {PCI_CHIP_IGDNG_M_G, PCI_CHIP_IGDNG_M_G, NULL},
+ {-1, -1, NULL}
};
/*