From: Scott Wood <scottwood@freescale.com>
To: Jia Hongtao <B38951@freescale.com>
Cc: B07421@freescale.com, linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH V9] powerpc/fsl-pci: Unify pci/pcie initialization code
Date: Thu, 23 Aug 2012 19:15:42 -0500 [thread overview]
Message-ID: <5036C7AE.9020500@freescale.com> (raw)
In-Reply-To: <1345714301-13027-1-git-send-email-B38951@freescale.com>
On 08/23/2012 04:31 AM, Jia Hongtao wrote:
> +static void mpc85xx_cds_pci_assign_primary(void)
> +{
> +#ifdef CONFIG_PCI
> + struct device_node *np;
> +
> + if (fsl_pci_primary)
> + return;
> +
> + /*
> + * MPC85xx_CDS has ISA bridge but unfortunately there is no
> + * isa node in device tree. We now looking for i8259 node as
> + * a temporary workaround for such a broken device tree.
> + * This can go away once the device tree is updated.
> + */
It cannot go away once the device tree is updated, because we maintain
support for old device trees within reason. It's not like this is core
kernel code; the cost of having this compatibility here is minimal, even
if the device trees we're staying compatible with are technically
broken. Compare that to customer support effort if this breaks
someone's custom board with a forked device tree, or if upgrading the
device tree breaks someone's old U-Boot.
-Scott
next prev parent reply other threads:[~2012-08-24 0:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-23 9:31 [PATCH V9] powerpc/fsl-pci: Unify pci/pcie initialization code Jia Hongtao
2012-08-24 0:15 ` Scott Wood [this message]
2012-08-24 2:34 ` Jia Hongtao-B38951
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=5036C7AE.9020500@freescale.com \
--to=scottwood@freescale.com \
--cc=B07421@freescale.com \
--cc=B38951@freescale.com \
--cc=linuxppc-dev@lists.ozlabs.org \
/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;
as well as URLs for NNTP newsgroup(s).