public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* agpgart kconfig patch for linux-2.5.51
@ 2002-12-10 11:55 Young-Ho Cha
  2002-12-10 15:26 ` Dave Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Young-Ho Cha @ 2002-12-10 11:55 UTC (permalink / raw)
  To: linux-kernel; +Cc: davej

[-- Attachment #1: Type: text/plain, Size: 144 bytes --]

in agpgart 1.0 modules, each can be modules, but kconfig set "bool"

and many symbols are not exported.

this is patch against 2.5.51 vanilla



[-- Attachment #2: linux-2.5.51-agpgart.patch --]
[-- Type: text/plain, Size: 3985 bytes --]

diff -uNr linux/drivers/char/agp/Kconfig linux-2.5.51/drivers/char/agp/Kconfig
--- linux/drivers/char/agp/Kconfig	2002-12-10 20:46:41.000000000 +0900
+++ linux-2.5.51/drivers/char/agp/Kconfig	2002-12-10 20:50:23.000000000 +0900
@@ -30,7 +30,7 @@
 	depends on GART_IOMMU
 
 config AGP_INTEL
-	bool "Intel 440LX/BX/GX and I815/I820/I830M/I830MP/I840/I845/I850/I860 support"
+	tristate "Intel 440LX/BX/GX and I815/I820/I830M/I830MP/I840/I845/I850/I860 support"
 	depends on AGP
 	help
 	  This option gives you AGP support for the GLX component of the
@@ -48,7 +48,7 @@
 #	  is required to do any useful video modes with these boards.
 
 config AGP_VIA
-	bool "VIA chipset support"
+	tristate "VIA chipset support"
 	depends on AGP
 	help
 	  This option gives you AGP support for the GLX component of the
@@ -58,7 +58,7 @@
 	  use GLX or DRI.  If unsure, say N.
 
 config AGP_AMD
-	bool "AMD Irongate, 761, and 762 support"
+	tristate "AMD Irongate, 761, and 762 support"
 	depends on AGP
 	help
 	  This option gives you AGP support for the GLX component of the
@@ -68,7 +68,7 @@
 	  use GLX or DRI.  If unsure, say N.
 
 config AGP_SIS
-	bool "Generic SiS support"
+	tristate "Generic SiS support"
 	depends on AGP
 	help
 	  This option gives you AGP support for the GLX component of the "soon
@@ -81,7 +81,7 @@
 	  use GLX or DRI.  If unsure, say N.
 
 config AGP_ALI
-	bool "ALI chipset support"
+	tristate "ALI chipset support"
 	depends on AGP
 	---help---
 	  This option gives you AGP support for the GLX component of the
@@ -99,14 +99,14 @@
 	  use GLX or DRI.  If unsure, say N.
 
 config AGP_SWORKS
-	bool "Serverworks LE/HE support"
+	tristate "Serverworks LE/HE support"
 	depends on AGP
 	help
 	  Say Y here to support the Serverworks AGP card.  See 
 	  <http://www.serverworks.com/> for product descriptions and images.
 
 config AGP_AMD_8151
-	bool "AMD 8151 support"
+	tristate "AMD 8151 support"
 	depends on AGP
 	default GART_IOMMU
 	help
@@ -114,14 +114,14 @@
 	  GART on the AMD Athlon64/Opteron ("Hammer") CPUs.
 
 config AGP_I460
-	bool "Intel 460GX support"
+	tristate "Intel 460GX support"
 	depends on AGP && IA64
 	help
 	  This option gives you AGP GART support for the Intel 460GX chipset
 	  for IA64 processors.
 
 config AGP_HP_ZX1
-	bool "HP ZX1 AGP support"
+	tristate "HP ZX1 AGP support"
 	depends on AGP && IA64
 	help
 	  This option gives you AGP GART support for the HP ZX1 chipset
diff -uNr linux/drivers/char/agp/backend.c linux-2.5.51/drivers/char/agp/backend.c
--- linux/drivers/char/agp/backend.c	2002-12-10 20:46:41.000000000 +0900
+++ linux-2.5.51/drivers/char/agp/backend.c	2002-12-10 20:32:43.000000000 +0900
@@ -286,6 +286,7 @@
 EXPORT_SYMBOL(agp_backend_acquire);
 EXPORT_SYMBOL(agp_backend_release);
 EXPORT_SYMBOL_GPL(agp_register_driver);
+EXPORT_SYMBOL_GPL(agp_unregister_driver);
 
 MODULE_AUTHOR("Dave Jones <davej@codemonkey.org.uk>");
 MODULE_LICENSE("GPL and additional rights");
diff -uNr linux/drivers/char/agp/generic.c linux-2.5.51/drivers/char/agp/generic.c
--- linux/drivers/char/agp/generic.c	2002-12-10 20:46:41.000000000 +0900
+++ linux-2.5.51/drivers/char/agp/generic.c	2002-12-10 20:26:48.000000000 +0900
@@ -693,7 +693,21 @@
 EXPORT_SYMBOL(agp_free_memory);
 EXPORT_SYMBOL(agp_allocate_memory);
 EXPORT_SYMBOL(agp_copy_info);
+EXPORT_SYMBOL(agp_create_memory);
 EXPORT_SYMBOL(agp_bind_memory);
 EXPORT_SYMBOL(agp_unbind_memory);
+EXPORT_SYMBOL(agp_free_key);
 EXPORT_SYMBOL(agp_enable);
-
+EXPORT_SYMBOL(agp_bridge);
+EXPORT_SYMBOL(agp_generic_alloc_page);
+EXPORT_SYMBOL(agp_generic_destroy_page);
+EXPORT_SYMBOL(agp_generic_suspend);
+EXPORT_SYMBOL(agp_generic_resume);
+EXPORT_SYMBOL(agp_generic_agp_enable);
+EXPORT_SYMBOL(agp_generic_create_gatt_table);
+EXPORT_SYMBOL(agp_generic_free_gatt_table);
+EXPORT_SYMBOL(agp_generic_insert_memory);
+EXPORT_SYMBOL(agp_generic_remove_memory);
+EXPORT_SYMBOL(agp_generic_alloc_by_type);
+EXPORT_SYMBOL(agp_generic_free_by_type);
+EXPORT_SYMBOL(global_cache_flush);

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

end of thread, other threads:[~2002-12-10 15:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-10 11:55 agpgart kconfig patch for linux-2.5.51 Young-Ho Cha
2002-12-10 15:26 ` Dave Jones

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