linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PATCH: fix agpgart list
@ 2003-07-14 12:33 Alan Cox
  2003-07-14 15:41 ` James Bourne
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Cox @ 2003-07-14 12:33 UTC (permalink / raw)
  To: linux-kernel, marcelo

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.22-pre5/include/linux/agp_backend.h linux.22-pre5-ac1/include/linux/agp_backend.h
--- linux.22-pre5/include/linux/agp_backend.h	2003-07-14 12:27:43.000000000 +0100
+++ linux.22-pre5-ac1/include/linux/agp_backend.h	2003-07-14 13:05:58.000000000 +0100
@@ -66,6 +66,7 @@
 	VIA_APOLLO_KM266,
 	VIA_APOLLO_KT400,
 	VIA_APOLLO_P4M266,
+	VIA_APOLLO_P4X400,
 	SIS_GENERIC,
 	AMD_GENERIC,
 	AMD_IRONGATE,

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

* Re: PATCH: fix agpgart list
  2003-07-14 12:33 PATCH: fix agpgart list Alan Cox
@ 2003-07-14 15:41 ` James Bourne
  2003-07-14 16:43   ` Marcelo Tosatti
  0 siblings, 1 reply; 3+ messages in thread
From: James Bourne @ 2003-07-14 15:41 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel, marcelo

On Mon, 14 Jul 2003, Alan Cox wrote:

> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.22-pre5/include/linux/agp_backend.h linux.22-pre5-ac1/include/linux/agp_backend.h
> --- linux.22-pre5/include/linux/agp_backend.h	2003-07-14 12:27:43.000000000 +0100
> +++ linux.22-pre5-ac1/include/linux/agp_backend.h	2003-07-14 13:05:58.000000000 +0100
> @@ -66,6 +66,7 @@
>  	VIA_APOLLO_KM266,
>  	VIA_APOLLO_KT400,
>  	VIA_APOLLO_P4M266,
> +	VIA_APOLLO_P4X400,
>  	SIS_GENERIC,
>  	AMD_GENERIC,
>  	AMD_IRONGATE,

Hi,
you'll also note a missing break; at the end of the case statement in
agpsupport.c as follows

--- linux-2.4.22pre5/drivers/char/drm-4.0/agpsupport.c~	2003-07-12 14:36:59.000000000 +0700
+++ linux-2.4.22pre5/drivers/char/drm-4.0/agpsupport.c	2003-07-12 14:36:59.000000000 +0700
@@ -278,6 +278,7 @@
 		case VIA_APOLLO_KT400:  head->chipset = "VIA Apollo KT400";
 			break;
 		case VIA_APOLLO_P4X400:	head->chipset = "VIA Apollo P4X400";
+			break;
 #endif
 
 		case VIA_APOLLO_PRO: 	head->chipset = "VIA Apollo Pro";

------------------

regards

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

-- 
James Bourne                  | Email:            jbourne@hardrock.org          
Unix Systems Administrator    | WWW:           http://www.hardrock.org
Custom Unix Programming       | Linux:  The choice of a GNU generation
----------------------------------------------------------------------
 "All you need's an occasional kick in the philosophy." Frank Herbert  


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

* Re: PATCH: fix agpgart list
  2003-07-14 15:41 ` James Bourne
@ 2003-07-14 16:43   ` Marcelo Tosatti
  0 siblings, 0 replies; 3+ messages in thread
From: Marcelo Tosatti @ 2003-07-14 16:43 UTC (permalink / raw)
  To: James Bourne; +Cc: Alan Cox, linux-kernel, marcelo



On Mon, 14 Jul 2003, James Bourne wrote:

> On Mon, 14 Jul 2003, Alan Cox wrote:
>
> > diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.22-pre5/include/linux/agp_backend.h linux.22-pre5-ac1/include/linux/agp_backend.h
> > --- linux.22-pre5/include/linux/agp_backend.h	2003-07-14 12:27:43.000000000 +0100
> > +++ linux.22-pre5-ac1/include/linux/agp_backend.h	2003-07-14 13:05:58.000000000 +0100
> > @@ -66,6 +66,7 @@
> >  	VIA_APOLLO_KM266,
> >  	VIA_APOLLO_KT400,
> >  	VIA_APOLLO_P4M266,
> > +	VIA_APOLLO_P4X400,
> >  	SIS_GENERIC,
> >  	AMD_GENERIC,
> >  	AMD_IRONGATE,
>
> Hi,
> you'll also note a missing break; at the end of the case statement in
> agpsupport.c as follows
>
> --- linux-2.4.22pre5/drivers/char/drm-4.0/agpsupport.c~	2003-07-12 14:36:59.000000000 +0700
> +++ linux-2.4.22pre5/drivers/char/drm-4.0/agpsupport.c	2003-07-12 14:36:59.000000000 +0700
> @@ -278,6 +278,7 @@
>  		case VIA_APOLLO_KT400:  head->chipset = "VIA Apollo KT400";
>  			break;
>  		case VIA_APOLLO_P4X400:	head->chipset = "VIA Apollo P4X400";
> +			break;
>  #endif
>
>  		case VIA_APOLLO_PRO: 	head->chipset = "VIA Apollo Pro";

Patch applied, thanks.

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

end of thread, other threads:[~2003-07-14 16:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-14 12:33 PATCH: fix agpgart list Alan Cox
2003-07-14 15:41 ` James Bourne
2003-07-14 16:43   ` Marcelo Tosatti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).