2003-07-14 12:37:19

by Alan

[permalink] [raw]
Subject: PATCH: fix agpgart list

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,


2003-07-14 15:28:43

by James Bourne

[permalink] [raw]
Subject: Re: PATCH: fix agpgart list

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 [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

--
James Bourne | Email: [email protected]
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

2003-07-14 16:30:59

by Marcelo Tosatti

[permalink] [raw]
Subject: Re: PATCH: fix agpgart list



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.