--- On Tue, 3/10/09, Harry Ciao <qingtao.cao@xxxxxxxxxxxxx> wrote:Doug,
From: Harry Ciao <qingtao.cao@xxxxxxxxxxxxx>
Subject: [v2 PATCH 7/7] EDAC: AMD8131 driver Kconfig and Makefile
To: linux-kernel@xxxxxxxxxxxxxxx, bluesmoke-devel@xxxxxxxxxxxxxxxxxxxxx
Date: Tuesday, March 10, 2009, 9:25 PM
Introduce Kconfig and Makefile
options for AMD8131 EDAC driver.
Signed-off-by: Harry Ciao <qingtao.cao@xxxxxxxxxxxxx>
---
drivers/edac/Kconfig | 7 +++++++
drivers/edac/Makefile | 1 +
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig
index 46f8e77..13ccec6 100644
--- a/drivers/edac/Kconfig
+++ b/drivers/edac/Kconfig
@@ -181,4 +181,11 @@ config EDAC_AMD8111
Support for error detection and
correction on the
AMD8111 HyperTransport I/O Hub
chip.
+config EDAC_AMD8131
+ tristate "AMD8131 HyperTransport PCI-X
Tunnel"
+ depends on EDAC_MM_EDAC && PCI
+ help
+ Support for error detection and
correction on the
+ AMD8131 HyperTransport PCI-X
Tunnel chip.
+
endif # EDAC
diff --git a/drivers/edac/Makefile b/drivers/edac/Makefile
index c324956..407601f 100644
--- a/drivers/edac/Makefile
+++ b/drivers/edac/Makefile
@@ -35,4 +35,5 @@
obj-$(CONFIG_EDAC_MPC85XX) += mpc85xx_edac.o
obj-$(CONFIG_EDAC_MV64X60) += mv64x60_edac.o
obj-$(CONFIG_EDAC_CELL) += cell_edac.o
obj-$(CONFIG_EDAC_AMD8111) += amd8111_edac.o
+obj-$(CONFIG_EDAC_AMD8131) += amd8131_edac.o
--
1.5.6.2
Andrew,
I notice that the above is different from what is now in mmotm.
In the patches posted, amd8111 module IS and the amd8131 modules is NOT, configured in the Makefile to be compiled.
In the mmotm version NEITHER is configured to be compiled. When I do add them I get the following errors:
drivers/edac/amd8111_edac.c: In function âamd8111_lpc_bridge_initâ:
drivers/edac/amd8111_edac.c:259: error: implicit declaration of function â__do_inbâ
drivers/edac/amd8111_edac.c:273: error: implicit declaration of function â__do_outbâ
drivers/edac/amd8111_edac.c: In function âamd8111_dev_probeâ:
drivers/edac/amd8111_edac.c:383: warning: passing argument 2 of âedac_device_alloc_ctl_infoâ discards qualifiers from pointer target type
and
drivers/edac/amd8111_edac.c: In function âamd8111_lpc_bridge_initâ:
drivers/edac/amd8111_edac.c:259: error: implicit declaration of function â__do_inbâ
drivers/edac/amd8111_edac.c:273: error: implicit declaration of function â__do_outbâ
drivers/edac/amd8111_edac.c: In function âamd8111_dev_probeâ:
drivers/edac/amd8111_edac.c:383: warning: passing argument 2 of âedac_device_alloc_ctl_infoâ discards qualifiers from pointer target type
I assume that is why it is currently not enabled. I just didn't see it mentioned anywhere, but you are probably aware of it.
doug t