pkgsrc/x11/xorg-libs/patches/patch-cb
markd 4ba35ebd19 Add support for the i945GM to the i810 driver.
From patches by Dimitry Andric.
Bump PKGREVISION of xorg-server.
2006-06-17 12:33:52 +00:00

28 lines
1 KiB
Text

$NetBSD: patch-cb,v 1.1 2006/06/17 12:33:53 markd Exp $
--- programs/Xserver/hw/xfree86/drivers/i810/i810_driver.c.orig 2006-06-06 21:12:47.000000000 +1200
+++ programs/Xserver/hw/xfree86/drivers/i810/i810_driver.c
@@ -136,6 +136,7 @@ static SymTabRec I810Chipsets[] = {
{PCI_CHIP_E7221_G, "E7221 (i915)"},
{PCI_CHIP_I915_GM, "915GM"},
{PCI_CHIP_I945_G, "945G"},
+ {PCI_CHIP_I945_GM, "945GM"},
{-1, NULL}
};
@@ -154,6 +155,7 @@ static PciChipsets I810PciChipsets[] = {
{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},
{-1, -1, RES_UNDEFINED }
};
@@ -569,6 +571,7 @@ I810Probe(DriverPtr drv, int flags)
case PCI_CHIP_E7221_G:
case PCI_CHIP_I915_GM:
case PCI_CHIP_I945_G:
+ case PCI_CHIP_I945_GM:
xf86SetEntitySharable(usedChips[i]);
/* Allocate an entity private if necessary */