public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Typo in [AGPGART] i915GM support patch
@ 2005-01-20 16:46 Marco Cipullo
  2005-01-21  3:00 ` Dave Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Marco Cipullo @ 2005-01-20 16:46 UTC (permalink / raw)
  To: Kernel List

 From last changeset:

--- a/drivers/char/agp/intel-agp.c	2005-01-20 08:38:39 -08:00
+++ b/drivers/char/agp/intel-agp.c	2005-01-20 08:38:39 -08:00

@@ -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_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....


Hope can help. Bye
Marco

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Typo in [AGPGART] i915GM support patch
  2005-01-20 16:46 Typo in [AGPGART] i915GM support patch Marco Cipullo
@ 2005-01-21  3:00 ` Dave Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Jones @ 2005-01-21  3:00 UTC (permalink / raw)
  To: Marco Cipullo; +Cc: Kernel List

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-21  3:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-20 16:46 Typo in [AGPGART] i915GM support patch Marco Cipullo
2005-01-21  3:00 ` Dave Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox