summaryrefslogtreecommitdiffstats
path: root/drivers/edac/Kconfig
diff options
context:
space:
mode:
authorHui Wang <jason77.wang@gmail.com>2012-02-06 08:10:59 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-03-21 19:19:56 +0100
commit22a5c27bec0161c70cc2d8d1730f9b14b604757d (patch)
treef31e504d617fbe136849438e10c84a1794e2973b /drivers/edac/Kconfig
parentedac: Improve the comments to better describe the memory concepts (diff)
downloadlinux-22a5c27bec0161c70cc2d8d1730f9b14b604757d.tar.xz
linux-22a5c27bec0161c70cc2d8d1730f9b14b604757d.zip
edac: sb_edac: Let the driver depend on PCI_MMCONFIG
This driver needs to access PCIe Extended Configuration Space Registers (0x100~0xfff), to correctly access those registers, we need to enable PCI_MMCONFIG option. Since this option is not enabled for X86_64 by default, we let the driver depend on it to prevent users forgetting to enable this option. Signed-off-by: Hui Wang <jason77.wang@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/edac/Kconfig')
-rw-r--r--drivers/edac/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig
index 203361e4ef94..fdffa1beca17 100644
--- a/drivers/edac/Kconfig
+++ b/drivers/edac/Kconfig
@@ -214,8 +214,8 @@ config EDAC_I7300
config EDAC_SBRIDGE
tristate "Intel Sandy-Bridge Integrated MC"
- depends on EDAC_MM_EDAC && PCI && X86 && X86_MCE_INTEL
- depends on EXPERIMENTAL
+ depends on EDAC_MM_EDAC && PCI && X86_64 && X86_MCE_INTEL
+ depends on PCI_MMCONFIG && EXPERIMENTAL
help
Support for error detection and correction the Intel
Sandy Bridge Integrated Memory Controller.