Re: PATCH: fix agpgart list

James Bourne (jbourne@hardrock.org)
Mon, 14 Jul 2003 09:41:12 -0600 (MDT)


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  

- 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/