linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Kumar Gala <galak@kernel.crashing.org>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [RFC][PATCH] add support to ppc32 to "use" pci_dn
Date: Fri, 01 May 2009 07:44:36 +1000	[thread overview]
Message-ID: <1241127876.29501.45.camel@pasglop> (raw)
In-Reply-To: <Pine.LNX.4.64.0904301604540.25174@localhost.localdomain>

On Thu, 2009-04-30 at 16:07 -0500, Kumar Gala wrote:
> Ben,
> 
> This is my cut at unifying a bit of the ppc32 & ppc64 code.  I don't
> specifically intend to use all the OF bits on ppc32, but getting some of
> the structures the same so the non-OF related foo can be common is my
> goal.
> 
> This was all about trying to get pci_bus_to_hose() to be common.

I think a pre-req is to update the pci_dn code to use a similar
technique to ppc32 for linking the device nodes to the pci_dev's
(ie, walking level by level and only using the devfn and not the bus
number to go down in order to be agnostic to bus renumbering).

That way, you can completely switch over ppc32 to pci_dn incuding
pci_device_to_OF_node() etc... in one go.

Cheers,
Ben.

      reply	other threads:[~2009-04-30 21:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-30 21:07 [RFC][PATCH] add support to ppc32 to "use" pci_dn Kumar Gala
2009-04-30 21:44 ` Benjamin Herrenschmidt [this message]

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=1241127876.29501.45.camel@pasglop \
    --to=benh@kernel.crashing.org \
    --cc=galak@kernel.crashing.org \
    --cc=linuxppc-dev@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).