From: Gabor Juhos <juhosg@openwrt.org>
To: "René Bolldorf" <xsecute@googlemail.com>
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org
Subject: Re: [PATCH 4/7] MIPS: ath79: add a common PCI registration function
Date: Fri, 18 Nov 2011 19:41:39 +0100 [thread overview]
Message-ID: <4EC6A6E3.8040806@openwrt.org> (raw)
In-Reply-To: <CAEWqx59XzDyGWi7q-PYjiXx7t1Jinoz8ygypbk65CmD+zcyW2g@mail.gmail.com>
2011.11.18. 19:32 keltezéssel, René Bolldorf írta:
> On Fri, Nov 18, 2011 at 4:21 PM, Gabor Juhos <juhosg@openwrt.org> 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
next prev parent reply other threads:[~2011-11-18 18:41 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-18 15:21 [PATCH 1/7] MIPS: ath79: separate common PCI code Gabor Juhos
2011-11-18 15:21 ` [PATCH 2/7] MIPS: ath79: rename pci-ath724x.h Gabor Juhos
2011-11-18 15:21 ` [PATCH 3/7] MIPS: ath79: make ath724x_pcibios_init visible for external code Gabor Juhos
2011-11-18 15:21 ` [PATCH 4/7] MIPS: ath79: add a common PCI registration function Gabor Juhos
2011-11-18 18:32 ` René Bolldorf
2011-11-18 18:41 ` Gabor Juhos [this message]
[not found] ` <CAEWqx5_kuqeoHz=iNq5vDUX92zboBVksZ4JsyyEwk4tTaND77A@mail.gmail.com>
[not found] ` <4EC6AA03.2010805@openwrt.org>
2011-11-18 18:58 ` René Bolldorf
2011-11-18 15:21 ` [PATCH 5/7] MIPS: ath79: rename pci-ath724x.c to make it reflect the real SoC name Gabor Juhos
2011-11-18 15:21 ` [PATCH 6/7] MIPS: ath79: replace ath724x to ar724x Gabor Juhos
2011-11-18 15:22 ` [PATCH 7/7] MIPS: ath79: use io-accessor macros in pci-ar724x.c Gabor Juhos
2011-11-18 17:26 ` Gabor Juhos
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=4EC6A6E3.8040806@openwrt.org \
--to=juhosg@openwrt.org \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.org \
--cc=xsecute@googlemail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.