[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201011301719.03202.arnd@arndb.de>
Date: Tue, 30 Nov 2010 17:19:02 +0100
From: Arnd Bergmann <arnd@...db.de>
To: "Russell King - ARM Linux" <linux@....linux.org.uk>
Cc: Hans Ulli Kroll <ulli.kroll@...glemail.com>,
linux-arm-kernel@...ts.infradead.org,
Michał Mirosław <mirqus@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ARM: Gemini: Add support for PCI Bus
On Tuesday 30 November 2010, Russell King - ARM Linux wrote:
> No, the above is correct. What I was talking about was the difference
> between these:
>
> config PCI
> bool "PCI support" if MIGHT_HAVE_PCI
>
> and
>
> config PCI
> bool "PCI support"
> depends on MIGHT_HAVE_PCI
>
> In the first instance, PCI itself does not depend on MIGHT_HAVE_PCI.
> MIGHT_HAVE_PCI controls whether the user is offered the "PCI support"
> option.
>
> In the second instance, PCI depends on MIGHT_HAVE_PCI, which must be
> set to 'y' to offer the option and also if PCI is selected.
Right, I misread the patch as doing the wrong thing, thanks for
clearing that up.
> We want the first behaviour. Platforms which must have PCI support can
> continue to select PCI as they currently do, and leave the MIGHT_HAVE_PCI
> option alone.
>
> Platforms which may optionally have PCI support should select
> MIGHT_HAVE_PCI instead.
Yes, that sounds good.
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists