Re: [PATCH 4/7] MIPS: ath79: add a common PCI registration function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2011.11.18. 19:32 keltezéssel, René Bolldorf írta:
> On Fri, Nov 18, 2011 at 4:21 PM, Gabor Juhos <juhosg@xxxxxxxxxxx> wrote:
>> The current code unconditionally registers the AR724X
>> specific PCI controller, even if the kernel is running
>> on a different SoC.
>>
> This is not true, take a look in the ath79 Kconfig file...

Well, it is true. If you have the Ubiquiti board selected, that will allow you
to select the PCI code to be built. If you select the PCI code as well, then
pci-ath724x.c will be compiled into the kernel. Due to the nature of the
'arch_initcall' macro the PCI controller always gets registered. If you have
another board selected along with the Ubiquiti, and you are trying to run the
kernel on the other board, the PCI controller will be registered on that as well.

-Gabor



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux