edac: sb_edac: Let the driver depend on PCI_MMCONFIG
authorHui Wang <jason77.wang@gmail.com>
Mon, 6 Feb 2012 07:10:59 +0000 (04:10 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 21 Mar 2012 18:19:56 +0000 (15:19 -0300)
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>
drivers/edac/Kconfig

index 203361e4ef94a7c1bee6753211001fb403015648..fdffa1beca17288eeab2055d25382545c3dbbdcf 100644 (file)
@@ -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.
This page took 0.025993 seconds and 5 git commands to generate.