Re: Typo in [AGPGART] i915GM support patch

From: Dave Jones
Date: Thu Jan 20 2005 - 22:02:04 EST


On Thu, Jan 20, 2005 at 05:46:22PM +0100, Marco Cipullo wrote:
> - if (agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82915G_HB)
> + if (agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82915G_HB ||
> + agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82915G_HB)
> gtt_entries = MB(48) - KB(size);
> else
> gtt_entries = 0;
> break;
> Peraphs is:
>
> @@ -415,14 +415,16 @@
> break;
> case I915_GMCH_GMS_STOLEN_48M:
> /* Check it's really I915G */
> - if (agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82915G_HB)
> + if (agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82915G_HB ||
> + agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82915GM_HB)
> gtt_entries = MB(48) - KB(size);
> else
> gtt_entries = 0;
> break;
>
> The same applies few lines below....

Duh, yes. Thanks.
Fix sent to Linus.

Dave

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/