lkml.org 
[lkml]   [2008]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectMake CONFIG_ARP=m under x86_64

The way it is written, CONFIG_AGP is always y for x86_64 - not so nice
when you want to use nvagp instead which requries agpgart to be
unloadable.

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 6c70fed..1b2ce6c 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -429,12 +429,17 @@ config HPET_EMULATE_RTC
def_bool y
depends on HPET_TIMER && (RTC=y || RTC=m || RTC_DRV_CMOS=m || RTC_DRV_CMOS=y)

+config GART_IOMMU
+ bool
+
+# Hack to make AGP selectable as module
+config GART_IOMMU_SELECTOR
# Mark as embedded because too many people got it wrong.
# The code disables itself when not needed.
-config GART_IOMMU
- bool "GART IOMMU support" if EMBEDDED
- default y
+ tristate "GART IOMMU support" if EMBEDDED
+ default m
select SWIOTLB
+ select GART_IOMMU_BASE
select AGP
depends on X86_64 && PCI
help


\
 
 \ /
  Last update: 2008-04-18 23:25    [W:0.040 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site