From: Arnd Bergmann <arnd@arndb.de>
To: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org,
akpm@linux-foundation.org
Subject: Re: [PATCH 2/8] Kconfig: unwanted menus for s390.
Date: Sun, 22 Apr 2007 02:32:09 +0200 [thread overview]
Message-ID: <200704220232.10219.arnd@arndb.de> (raw)
In-Reply-To: <200704220110.54587.arnd@arndb.de>
On Sunday 22 April 2007, Arnd Bergmann wrote:
> I would prefer to not have 'depends on !S390' but rather 'depends on MMIO',
> because that is what really drives stuff like IPMI: they expect the device
> to be reachable through the use of ioremap or inX/outX instructions, which
> don't exist on s390.
>
> While it's unlikely that another architecture has the same restriction,
> it expresses much clearer what you mean.
>
> In drivers/Kconfig, you can then simply add a
>
> config MMIO
> def_bool !S390
I just saw that we already have an option like that, with a slightly different
name.
arch/s390/Kconfig contains
config NO_IOMEM
def_bool y
and lib/Kconfig contains
config HAS_IOMEM
boolean
depends on !NO_IOMEM
default y
You should probably just use one of these two to disable any driver that
uses ioremap or similar.
Arnd <><
next prev parent reply other threads:[~2007-04-22 0:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-20 11:32 [PATCH 2/8] Kconfig: unwanted menus for s390 Martin Schwidefsky
2007-04-21 23:10 ` Arnd Bergmann
2007-04-22 0:32 ` Arnd Bergmann [this message]
2007-04-22 7:50 ` Martin Schwidefsky
2007-04-22 8:10 ` Martin Schwidefsky
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=200704220232.10219.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=schwidefsky@de.ibm.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