From: Olof Johansson <olof@lixom.net>
To: Nathaniel Case <ncase@xes-inc.com>
Cc: netdev@vger.kernel.org, pasemi-linux@ozlabs.org, afleming@freescale.com
Subject: Re: [Pasemi-linux] I2C MDIO support for pasemi_mac driver
Date: Fri, 7 Mar 2008 12:48:54 -0600 [thread overview]
Message-ID: <20080307184854.GA23402@lixom.net> (raw)
In-Reply-To: <20080307183738.GA22366@lixom.net>
On Fri, Mar 07, 2008 at 12:37:38PM -0600, Olof Johansson wrote:
> The i2c bus number should be available in the phy driver when it's
> probed/registered, so you should be able to get to it there. It's awkward
> that the MDIO and i2c busses have separate namespaces, it'll make it hard
> if there's ever a system with both mdio and smbus-based phys. We could
> control that by how the mdio bus is specified in device tree on those
> systems though, and make sure the bus number for the "real" mdio bus is
> sufficiently offset to give room for the smbus-based bus numbers below.
On second thought, it might be a better idea to change from BUS:ID to
BUSTYPE:BUS:ID in phylib, to separate the namespaces.
That, plus a way to get to an i2c bus number from a device tree node,
and we should be all set. That might be tricker though.
-Olof
next prev parent reply other threads:[~2008-03-07 18:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1204911643.8864.15.camel@localhost.localdomain>
2008-03-07 18:37 ` I2C MDIO support for pasemi_mac driver Olof Johansson
2008-03-07 18:48 ` Olof Johansson [this message]
2008-03-07 19:28 ` [Pasemi-linux] " Nathaniel Case
2008-03-13 21:57 ` Nate Case
2008-04-02 22:45 ` Andy Fleming
2008-04-03 13:45 ` Nate Case
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=20080307184854.GA23402@lixom.net \
--to=olof@lixom.net \
--cc=afleming@freescale.com \
--cc=ncase@xes-inc.com \
--cc=netdev@vger.kernel.org \
--cc=pasemi-linux@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 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.