From: Stephen Rothwell <sfr@canb.auug.org.au>
To: qingtao.cao@windriver.com
Cc: Andrew Morton <akpm@linux-foundation.org>,
norsk5@yahoo.com, bluesmoke-devel@lists.sourceforge.net,
linux-kernel@vger.kernel.org
Subject: Re: [v0 PATCH 1/1] Use dev_name() for AMD8111/AMD8131 EDAC driver
Date: Mon, 11 May 2009 13:57:07 +1000 [thread overview]
Message-ID: <20090511135707.21e27a5a.sfr@canb.auug.org.au> (raw)
In-Reply-To: <4A0791D1.5040303@windriver.com>
[-- Attachment #1: Type: text/plain, Size: 1519 bytes --]
Hi Harry,
On Mon, 11 May 2009 10:47:45 +0800 Harry Ciao <qingtao.cao@windriver.com> wrote:
>
> Andrew Morton wrote:
> >
> > The drivers break x86-64 allmodconfig:
> >
> > drivers/edac/amd8111_edac.c: In function 'amd8111_lpc_bridge_init':
> > drivers/edac/amd8111_edac.c:260: error: implicit declaration of function '__do_inb'
> > drivers/edac/amd8111_edac.c:274: error: implicit declaration of function '__do_outb'
>
> Ah, this is because __do_inb so far only supported on PPC arch:
>
> cao@cao-desktop:/work/community/linux-2.6/arch$ grep __do_inb * -r
> powerpc/include/asm/io.h:#define __do_inb(port) _rec_inb(port)
> powerpc/include/asm/io.h:#define __do_inb(port)
> readb((PCI_IO_ADDR)_IO_BASE + port);
> cao@cao-desktop:/work/community/linux-2.6/arch$
>
> So far the only machine that hosts AMD8111 chip is Maple, however,
> AMD8111 is of Hypertransport device and not necessarily depends on Maple
> nor PPC, so its Kconfig option is only depended on EDAC && EDAC_MC_EDAC
> && PCI.
>
> I think I could put some words into its Kconfig help section that
> AMD8111 should be selected on Maple now.
>
> What do you think? thanks!
You need to make them depend on CONFIG_PPC (or use a different i/o
interface) since the automated builds will enable them for
all{mod,yes}config builds. Some explanation of the dependency is, of
course, appropriate.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
prev parent reply other threads:[~2009-05-11 3:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-07 1:47 [v0 PATCH 0/1] EDAC: Use dev_name() for AMD8111/AMD8131 drivers Harry Ciao
2009-05-07 1:47 ` [v0 PATCH 1/1] Use dev_name() for AMD8111/AMD8131 EDAC driver Harry Ciao
2009-05-07 21:57 ` Andrew Morton
2009-05-11 2:47 ` Harry Ciao
2009-05-11 3:57 ` Stephen Rothwell [this message]
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=20090511135707.21e27a5a.sfr@canb.auug.org.au \
--to=sfr@canb.auug.org.au \
--cc=akpm@linux-foundation.org \
--cc=bluesmoke-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=norsk5@yahoo.com \
--cc=qingtao.cao@windriver.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®