lkml.org 
[lkml]   [2014]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 5/6] arm64, defconfig: Enable PCI
On 24.09.14 18:14:11, Arnd Bergmann wrote:
> On Wednesday 24 September 2014 17:37:47 Robert Richter wrote:
> > config PCI
> > bool "PCI support"
> > + default y
> > help
> > This feature enables support for PCIe bus system. If you say Y
> > here, the kernel will include drivers and infrastructure code
> > to support PCIe bus devices.
> >
> > +config PCI_MSI
> > + def_bool PCI
> > +
> > config PCI_DOMAINS
> > def_bool PCI
>
> There is already a PCI_MSI symbol in drivers/pci/Kconfig. Just select that
> from the PCI symbol above rather than defining a second one.

The intention is not to have a second definition, instead this should
enable the default value just for arm64. Thus I put it to
arch/arm64/Kconfig. Otherwise it would be enabled per default on all
archs.

We could have used select in config ARM64, but I tried to avoid using
select due to the dependency issue and instead implement this with
default-y/depends-on. Doing so it can be manually disabled too.

-Robert


\
 
 \ /
  Last update: 2014-09-24 19:01    [W:0.083 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site