From: Harry Ciao <qingtao.cao@windriver.com>
To: norsk5@yahoo.com
Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org,
bluesmoke-devel@lists.sourceforge.net
Subject: [v1 PATCH 2/2] EDAC: AMD8111 & AMD8131 Kconfig fixup
Date: Fri, 15 May 2009 11:26:46 +0800 [thread overview]
Message-ID: <1242358006-28339-3-git-send-email-qingtao.cao@windriver.com> (raw)
In-Reply-To: <1242358006-28339-2-git-send-email-qingtao.cao@windriver.com>
The amd8111_edac.c driver will fail allmodconfig on architectures
other than PPC, introduce Kconfig dependency to avoid this, since
both AMD8111 and AMD8131 chips are only adopted on Maple so far.
Signed-off-by: Harry Ciao <qingtao.cao@windriver.com>
---
drivers/edac/Kconfig | 8 ++++++--
drivers/edac/Makefile | 2 ++
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig
index d9a7c25..376a9a4 100644
--- a/drivers/edac/Kconfig
+++ b/drivers/edac/Kconfig
@@ -192,17 +192,21 @@ config EDAC_PPC4XX
config EDAC_AMD8131
tristate "AMD8131 HyperTransport PCI-X Tunnel"
- depends on EDAC_MM_EDAC && PCI
+ depends on EDAC_MM_EDAC && PCI && PPC_MAPLE
help
Support for error detection and correction on the
AMD8131 HyperTransport PCI-X Tunnel chip.
+ Note, add more Kconfig dependency if it's adopted
+ on some machine other than Maple.
config EDAC_AMD8111
tristate "AMD8111 HyperTransport I/O Hub"
- depends on EDAC_MM_EDAC && PCI
+ depends on EDAC_MM_EDAC && PCI && PPC_MAPLE
help
Support for error detection and correction on the
AMD8111 HyperTransport I/O Hub chip.
+ Note, add more Kconfig dependency if it's adopted
+ on some machine other than Maple.
config EDAC_CPC925
tristate "IBM CPC925 Memory Controller (PPC970FX)"
diff --git a/drivers/edac/Makefile b/drivers/edac/Makefile
index ddfd072..be0e705 100644
--- a/drivers/edac/Makefile
+++ b/drivers/edac/Makefile
@@ -36,3 +36,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_PPC4XX) += ppc4xx_edac.o
+obj-$(CONFIG_EDAC_AMD8111) += amd8111_edac.o
+obj-$(CONFIG_EDAC_AMD8131) += amd8131_edac.o
--
1.5.6.2
next prev parent reply other threads:[~2009-05-15 3:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-15 3:26 [v1 PATCH 0/2] " Harry Ciao
2009-05-15 3:26 ` [v1 PATCH 1/2] EDAC: AMD8111 & AMD8131 use dev_name() Harry Ciao
2009-05-15 3:26 ` Harry Ciao [this message]
2009-05-28 7:44 ` [v1 PATCH 0/2] EDAC: AMD8111 & AMD8131 Kconfig fixup Andrew Morton
2009-05-31 1:33 ` Harry Ciao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1242358006-28339-3-git-send-email-qingtao.cao@windriver.com \
--to=qingtao.cao@windriver.com \
--cc=akpm@linux-foundation.org \
--cc=bluesmoke-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=norsk5@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®